A few questions about termination

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

 



Lennart Poettering wrote:
> On Fri, 24.07.09 11:17, Andreas ?man (andreas at lonelycoder.com) wrote:
> 
>> Second, If I chose 'terminate' from pavucontrol on my application's
>> stream the app receives an PA_STREAM_FAILED event. I would expect
>> it to be PA_STREAM_TERMINATED.
> 
> The PA_STREAM_TERMINATED state is only entered if you locally change
> terminate a stream by calling pa_stream_disconnect(). Any error or
> externally triggered state change is forward to you as a
> PA_STREAM_FAILED state.

Ok, so my mediaplayer's current behavior is to pause playback
when the PA_STREAM_FAILED event occurs and upon a users request
to unpause playback it will try to create a new stream.
Does this make sense?




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

  Powered by Linux