Hello, I’m working on a project whereby we are playing audio files over the MDM connection to who we called. We have setup a Recorder to record the received modem audio to a file. I have noted on the page below that there is a limitation where the recorder cannot record both the MDM Rx audio and the MDM Tx audio (which is the audio file being played):
I tried the AT command on WP7611 and it failed when my application was running. I ran my regular application which calls my cell phone, and plays some pre-recorded audio files. I was hoping that I could record the entire conversation to file (both the audio files that were playing along with my responses spoken to my cell phone).
root@swi-mdm9x28-wp:~# microcom /dev/ttyAT
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
AT
OK
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
AT!AVAUDIO=4,1,/usr/recording1.wav
ERROR
Using legato le_audio api, I have only been able to record the incoming audio from modem voice call, not the audio we are broadcasting outbound. I was hoping to have both channels of audio in one file.
After using the new filepath that is writeable, I was able to get an OK response from the AT!AVAUDIO command but the only thing it did was create an empty wav file with header. There was no audio content. I’m thinking since the legato code of our app had active audio streams that it was the reason that an empty file was created? Are there finite amount of resources that can be used for audio streams or can there be duplicate streams going to different destinations?