patch-gnuradio
[Top][All Lists]
Advanced

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

[Patch-gnuradio] Small patch for audio_alsa_sink


From: Volker Schroer
Subject: [Patch-gnuradio] Small patch for audio_alsa_sink
Date: Tue, 07 Dec 2010 17:20:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

Switching parts of a flow graph with a valve leads to runtime erros

audio_alsa_sink[hw:0,0]: snd_pcm_hw_params failed: File descriptor in bad state
terminate called after throwing an instance of 'std::runtime_error'
what(): check topology failed on audio_alsa_sink(1) using ninputs=1, noutputs=0


This can be avoided by the attached patch.

Depending on the state of stream the parameters are not again set or the stream will be restarted.

So you can even stop and restart the sound output without runtime errors.

Volker





Attachment: audio_alsa_sink.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]