Closed khanhdew closed 7 months ago
I guess you just forgot to update the arduino-audio-driver library
Sir, thanks for replying to my question. But as far as I know I have installed these lastest version of the libraries:
Are you sure that you installed the released versions and not the main branch ? The main branches are constantly changing until they are released...
Are you sure that you installed the released versions and not the main branch ? The main branches are constantly changing until they are released...
Yes, I did installed the released version of the libraries.
Thank you sir for your answers and your time. Now I found out I have to install the main branch.
Problem Description
Hi, I'm just trying to demo an audio project working on ESP32. I have found this repository and opened an example to see how it works. The example which I opened was
communication-audiokit-rtsp
I complied and loaded to the board, but I got the output :In file included from /home/khanhdz/Arduino/libraries/audio-tools/src/AudioLibs/AudioBoardStream.h:4, from /tmp/.arduinoIDE-unsaved202445-25922-113oh7l.41hth/communication-audiokit-rtsp/communication-audiokit-rtsp.ino:13: /home/khanhdz/Arduino/libraries/audio-tools/src/AudioLibs/I2SCodecStream.h: In member function 'bool audio_tools::I2SCodecStream::setMute(bool, int)': /home/khanhdz/Arduino/libraries/audio-tools/src/AudioLibs/I2SCodecStream.h:160:39: error: no matching function for call to 'audio_driver::AudioBoard::setMute(bool&, int&)' return p_board->setMute(mute, line); ^ In file included from /home/khanhdz/Arduino/libraries/audio-tools/src/AudioLibs/I2SCodecStream.h:2, from /home/khanhdz/Arduino/libraries/audio-tools/src/AudioLibs/AudioBoardStream.h:4, from /tmp/.arduinoIDE-unsaved202445-25922-113oh7l.41hth/communication-audiokit-rtsp/communication-audiokit-rtsp.ino:13: /home/khanhdz/Arduino/libraries/audio-driver/src/AudioBoard.h:53:8: note: candidate: 'bool audio_driver::AudioBoard::setMute(bool)' bool setMute(bool enable) { return driver->setMute(enable); } ^~~~~~~ /home/khanhdz/Arduino/libraries/audio-driver/src/AudioBoard.h:53:8: note: candidate expects 1 argument, 2 provided
It seems a function call setMute() in I2SCodecStream.h has passed with wrong parameters, or something went wrong when I installed the library. I'm now stuck in that problem, please help me!Thanks a lot!!!
Device Description
ESP32 WROOM
Sketch
Other Steps to Reproduce
No response
What is your development environment
Arduino IDE
I have checked existing issues, discussions and online documentation