Skip to content

Commit

Permalink
AudioKit use new include convention
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Oct 19, 2024
1 parent e5f4f01 commit a108f93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// ==> Example A2DP Receiver which uses the A2DP I2S output to an AudioKit board

#include "AudioTools.h"
#include "AudioLibs/AudioBoardStream.h" // install https://github.com/pschatzmann/arduino-audio-driver
#include "AudioTools/AudioLibs/AudioBoardStream.h" // install https://github.com/pschatzmann/arduino-audio-driver
#include "BluetoothA2DPSink.h"

AudioBoardStream kit(AudioKitEs8388V1);
Expand Down
3 changes: 3 additions & 0 deletions src/BluetoothA2DPOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ void BluetoothA2DPOutputAudioTools::set_sample_rate(int m_sample_rate) {
info.channels = 2;
info.bits_per_sample = 16;
p_audio_print->setAudioInfo(info);
ESP_LOGI(BT_AV_TAG, "%s sample_rate %d -> %d", __func__, info.sample_rate, p_audio_print->audioInfo().sample_rate);
} else {
ESP_LOGI(BT_AV_TAG, "%s sample_rate not changed %d", __func__, info.sample_rate);
}
}
#endif
Expand Down

0 comments on commit a108f93

Please sign in to comment.