Pipeline restart

jferreira
Posts: 1
Joined: Mon Feb 26, 2024 11:57 am

Pipeline restart

Postby jferreira » 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:

Code: Select all

audio_pipeline_stop(pipeline);
            audio_pipeline_wait_for_stop(pipeline);
            audio_pipeline_terminate(pipeline);
After I create a new path to record and I start the pipeline with:

Code: Select all

audio_pipeline_run(pipeline);
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

Who is online

Users browsing this forum: No registered users and 85 guests