Pipeline restart
Posted: Mon Feb 26, 2024 12:05 pm
Dear all,
I am using pipeline_recording_to_sdcard example to create an audio recorder.
The first recording is working, where I finnish with the following pipeline functions:
After I create a new path to record and I start the pipeline with:
However the file is created but looks that the buffer isn't working.
What function am I missing to restart properly the recorder pipeline?
Many thanks,
João
I am using pipeline_recording_to_sdcard example to create an audio recorder.
The first recording is working, where I finnish with the following pipeline functions:
Code: Select all
audio_pipeline_stop(pipeline);
audio_pipeline_wait_for_stop(pipeline);
audio_pipeline_terminate(pipeline);
Code: Select all
audio_pipeline_run(pipeline);
What function am I missing to restart properly the recorder pipeline?
Many thanks,
João