Skip to content

Commit d27d12a

Browse files
committed
A2DP change Waiting for buffer to debug
1 parent c2ebd22 commit d27d12a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/AudioAnalog/AnalogAudioArduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class AnalogDriverArduino : public AnalogDriverBase {
7373

7474
// blocking write ?
7575
if (config.is_blocking_write) {
76-
LOGD("Waiting for buffer to clear");
76+
LOGD("Waiting for buffer to be available");
7777
while (buffer->availableForWrite() == 0) {
7878
delay(10);
7979
}

src/AudioLibs/AudioA2DP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class A2DPStream : public AudioStream {
194194
if (config.mode==TX_MODE){
195195
// if buffer is full and we are still not connected, we wait
196196
while(len > a2dp_buffer.availableForWrite()){
197-
LOGI("waiting for buffer to be consumed...")
197+
LOGD("Waiting for buffer to be available");
198198
delay(200);
199199
if (config.startLogic==StartWhenBufferFull){
200200
is_a2dp_active = true;

src/AudioPWM/PWMAudioBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class DriverPWMBase {
156156
// blocking write for an array: we expect a singed value and convert it into a unsigned
157157
virtual size_t write(const uint8_t *wrt_buffer, size_t size){
158158
if (is_blocking_write && availableForWrite()==0){
159-
LOGD("Waiting for buffer to clear");
159+
LOGD("Waiting for buffer to be available");
160160
while (availableForWrite()==0) delay(5);
161161
}
162162

0 commit comments

Comments
 (0)