[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Audio_alsa_sink question
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Audio_alsa_sink question |
Date: |
Thu, 15 Jan 2009 11:21:22 -0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Jan 15, 2009 at 01:52:08PM +0200, Sebastiaan Heunis wrote:
> Hi
>
> I have a problem with the audio sink. I'm playing around with the
> analysis_filterbank block. I have a GUI allowing the user to pick a
> channel. That channel then gets connected to an FM demodulator,volume
> control and finally an audio sink. At the start of the app, I
> initialise everything and the audio sink works. As soon as I change a
> channel by reconnecting everything, I get this error:
>
> audio_alsa_sink[plughw: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(8) using
> ninputs=1, noutputs=0
> Aborted
>
> Can someone please tell me what might be wrong?
>
> Thanks.
> Sebastiaan
That's a bug in the implementation of gr-audio-alsa.
If you look in the code you'll find a couple of FIXMEs.
One of those is the thing you've stumbled on to.
Eric