diff --git a/_analog_audio_arduino_8h_source.html b/_analog_audio_arduino_8h_source.html index c2c0bb6dbc..6d10e3a1a5 100644 --- a/_analog_audio_arduino_8h_source.html +++ b/_analog_audio_arduino_8h_source.html @@ -146,7 +146,7 @@
84  if (config.is_blocking_write) {
85  LOGD("Waiting for buffer to be available");
86  while (buffer->availableForWrite() < len) {
-
87  delay(10);
+
87  delay(10);
88  }
89  }
90 
@@ -331,7 +331,7 @@
audio_tools::BaseBuffer::available
virtual int available()=0
provides the number of entries that are available to read
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition: AnalogAudio.h:10
audio_tools::map
long map(long x, long in_min, long in_max, long out_min, long out_max)
Maps input to output values.
Definition: NoArduino.h:161
-
audio_tools::delay
void delay(uint64_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10
+
audio_tools::delay
void delay(uint32_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10
audio_tools::AudioInfo::channels
int channels
Number of channels: 2=stereo, 1=mono.
Definition: AudioTypes.h:106
audio_tools::AudioInfo::bits_per_sample
int bits_per_sample
Number of bits per sample (int16_t = 16 bits)
Definition: AudioTypes.h:108
diff --git a/_audio_a2_d_p_8h_source.html b/_audio_a2_d_p_8h_source.html index f2fcf00549..32878df97f 100644 --- a/_audio_a2_d_p_8h_source.html +++ b/_audio_a2_d_p_8h_source.html @@ -184,7 +184,7 @@
146  a2dp_source->start_raw((char*)cfg.name, a2dp_stream_source_sound_data);
147  while(!a2dp_source->is_connected()){
148  LOGD("waiting for connection");
-
149  delay(1000);
+
149  delay(1000);
150  }
151  LOGI("a2dp_source is connected...");
152  notify_base_Info(44100);
@@ -203,7 +203,7 @@
165  a2dp_sink->start((char*)cfg.name);
166  while(!a2dp_sink->is_connected()){
167  LOGD("waiting for connection");
-
168  delay(1000);
+
168  delay(1000);
169  }
170  LOGI("a2dp_sink is connected...");
171  is_a2dp_active = true;
@@ -238,7 +238,7 @@
204  // if buffer is full we wait
205  while(len > a2dp_buffer.availableForWrite()){
206  LOGD("Waiting for buffer to be available");
-
207  delay(5);
+
207  delay(5);
208  if (config.startLogic==StartWhenBufferFull){
209  is_a2dp_active = true;
210  }
@@ -250,7 +250,7 @@
216  LOGD("write %d -> %d", len, result);
217  if (config.mode==TX_MODE){
218  // give the callback a chance to retrieve the data
-
219  delay(config.delay_ms);
+
219  delay(config.delay_ms);
220  }
221  return result;
222  }
@@ -398,7 +398,7 @@
audio_tools::Str::equals
virtual bool equals(const char *str)
checks if the string equals indicated parameter string
Definition: Str.h:170
audio_tools::RxTxMode
RxTxMode
Audio Source (TX_MODE) or Audio Sink (RX_MODE). RXTX_MODE is Source and Sink at the same time!
Definition: AudioTypes.h:24
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition: AnalogAudio.h:10
-
audio_tools::delay
void delay(uint64_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10
+
audio_tools::delay
void delay(uint32_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10
audio_tools::AudioInfo
Basic Audio information which drives e.g. I2S.
Definition: AudioTypes.h:48
audio_tools::AudioInfo::channels
int channels
Number of channels: 2=stereo, 1=mono.
Definition: AudioTypes.h:106
audio_tools::AudioInfo::bits_per_sample
int bits_per_sample
Number of bits per sample (int16_t = 16 bits)
Definition: AudioTypes.h:108
diff --git a/_audio_actions_8h_source.html b/_audio_actions_8h_source.html index 8da668b762..43284150af 100644 --- a/_audio_actions_8h_source.html +++ b/_audio_actions_8h_source.html @@ -254,7 +254,7 @@
audio_tools::AudioActions::add
void add(int pin, void(*actionOn)(bool pinStatus, int pin, void *ref), void(*actionOff)(bool pinStatus, int pin, void *ref), ActiveLogic activeLogicPar=ActiveLow, void *ref=nullptr)
Adds an action.
Definition: AudioActions.h:39
audio_tools::AudioActions::setEnabled
void setEnabled(int pin, bool enabled)
enable/disable pin actions
Definition: AudioActions.h:78
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition: AnalogAudio.h:10
-
audio_tools::millis
uint64_t millis()
Returns the milliseconds since the start.
Definition: Millis.h:17
+
audio_tools::millis
uint32_t millis()
Returns the milliseconds since the start.
Definition: Millis.h:17
audio_tools::AudioActions::Action
Definition: AudioActions.h:147
diff --git a/_audio_client_r_t_s_p_8h_source.html b/_audio_client_r_t_s_p_8h_source.html index bb66aa0a7a..1918ca5f4d 100644 --- a/_audio_client_r_t_s_p_8h_source.html +++ b/_audio_client_r_t_s_p_8h_source.html @@ -200,7 +200,7 @@
155  WiFi.begin(ssid, password);
156  while(WiFi.status() != WL_CONNECTED){
157  Serial.print(".");
-
158  delay(100);
+
158  delay(100);
159  }
160  Serial.println();
161  Serial.print("Local Address: ");
@@ -772,7 +772,7 @@
audiotools_rtsp::OurSink
Definition: AudioClientRTSP.h:262
audiotools_rtsp::StreamClientState
Definition: AudioClientRTSP.h:216
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition: AnalogAudio.h:10
-
audio_tools::delay
void delay(uint64_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10
+
audio_tools::delay
void delay(uint32_t ms)
Waits for the indicated milliseconds.
Definition: Millis.h:10