> try running the same fix with the static variable, this problem will > show up even with simple setups because it's in the alsa audio source > block. even though the fix works i wouldn't recommend it for long > term solution because it's a hack. you can look into the FIXME > section of the code to make a more permenant solution. > > al > > -----Original Message----- > From: Volker Schroer <[email protected]> > To: Discuss-gnuradio <[email protected]> > Sent: Mon, Dec 6, 2010 11:40 am > Subject: [Discuss-gnuradio] Problem with valve and audio sink > > Hi all, > > I get an runtime error, when switching a valve. > > I saw a similar problem some months ago, but the setup was different. > > My setup is quite easy: > > A signal source ( cosine, float ) connected to a audio sink. > The same signal source is connected to a valve and the valve is > connected to a scope sink. > > The valve is switched by a checkbox. > > Switching the valve leads to > > 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 > > I wonder how the valve affects the audio sink. > > Any ideas ? > > Thanks in advance > > Volker > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > Actually, I've been working on a good fix for this--it's been "in testing" for the last 30 days or so, I'll perhaps submit it to Tom R, and see where it goes from there.
-- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
