[pulseaudio-discuss] API: connect stream after disconnect?

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed May 13 03:14:38 PDT 2015


On Tue, 2015-05-12 at 18:32 +0000, Andrew Kelley wrote:
> I create a pa_stream. Then I call pa_stream_connect_playback. After
> some time I call pa_stream_disconnect. Then I want to call
> pa_stream_connect_playback again. However when I do this, I get an
> assertion failure because the stream state is PA_STREAM_TERMINATED and
> not PA_STREAM_UNCONNECTED. Am I supposed to destroy the stream and
> create a new one?

Yes.

-- 
Tanu



More information about the pulseaudio-discuss mailing list