API: connect stream after disconnect?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux