AMR record and playback loop error
Posted: Mon Nov 26, 2018 9:35 pm
Hello,
I am attempting to put together the record and playback examples for AMR.
after i got both working together, i Wanted to run record and playback multiple times.
My issue is that i have added a counter for the file naming, but when i go to play the any recording other than the first recording i am getting the following error where the amr decoder keeps getting a BAD HEADER
I went to attempt to check where that line of code is called but there is no "amr_decoder.c" file. When i go to read any recording on my laptop, it seems that the recording hasn't had any issues, just when playing back on the lyraTD. First run thru of rec/playback runs properly but anything else after that first recording doesn't playback because of that header issue
The following is how im calling the record file
The following is how im calling the playback file
If anyone has any ideas of why im receiving this error please let me know.
Thanks,
Steve
I am attempting to put together the record and playback examples for AMR.
after i got both working together, i Wanted to run record and playback multiple times.
My issue is that i have added a counter for the file naming, but when i go to play the any recording other than the first recording i am getting the following error where the amr decoder keeps getting a BAD HEADER
I went to attempt to check where that line of code is called but there is no "amr_decoder.c" file. When i go to read any recording on my laptop, it seems that the recording hasn't had any issues, just when playing back on the lyraTD. First run thru of rec/playback runs properly but anything else after that first recording doesn't playback because of that header issue
The following is how im calling the record file
The following is how im calling the playback file
If anyone has any ideas of why im receiving this error please let me know.
Thanks,
Steve