ArduinoCore-mbed icon indicating copy to clipboard operation
ArduinoCore-mbed copied to clipboard

Nicla Voice Record_and_Stream compile fails

Open drmpf opened this issue 1 year ago • 1 comments

Trying to record audio using Nicla Voice Nicla board support V4.1.3

Compiling Examples -> NDP -> Record_and_Stream fails with errors

Record_and_stream_test:51:19: error: no matching function for call to 'audio_tools::G722Encoder::begin(audio_tools::AudioInfo&)'
   encoder.begin(bi);
Record_and_stream_test:53:11: error: 'class audio_tools::G722Encoder' has no member named 'setOutputStream'; did you mean 'setOutput'?
   encoder.setOutputStream(Serial);

Libraries are [email protected] and [email protected]

Also that sketch mentions setting Setup the serial port as raw How do you to do that on a Windows machine?

drmpf avatar Jun 01 '24 19:06 drmpf

Solved this problem with help from ptillisch see https://forum.arduino.cc/t/record-and-stream-compile-fails/1266706/4 but Record_and_Stream example should prehaps be updated to work with latest version of arduino-audio-tools

drmpf avatar Jun 02 '24 02:06 drmpf