patch-gnuradio
[Top][All Lists]
Advanced

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

Re: [Patch-gnuradio] Small patch for audio_alsa_sink


From: Alexandru Csete
Subject: Re: [Patch-gnuradio] Small patch for audio_alsa_sink
Date: Wed, 8 Dec 2010 23:03:26 +0100

On Tue, Dec 7, 2010 at 5:20 PM, Volker Schroer <address@hidden> wrote:
> 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
>

Hi Volker,

Thanks for the patch. So far I have been using the workaround that was
discussed on the list. Now I switched to your patch and it is working
fine for me too. Thanks.

Alex



reply via email to

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