I want to use the M1(mic) on evm as my sound input and SKP1(speaker) as my sound output on dm365, I have configed the kernel and the demo application to run the audio_playback run well. And modified the demo of decode could play the example sound file davincieffect.g711 well, but when I modified and run the encode application to use new sound device with the command ./encode -s test.g711, it could not encode the speech buffer, the message was as follows:
Error: Failed to encode speech buffer
when I modified to use the default sound device to run the encode application, it will run well.
Does anybody know why this happend?