[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] Small patch for audio_alsa_source
From: |
Volker Schroer |
Subject: |
[Patch-gnuradio] Small patch for audio_alsa_source |
Date: |
Sun, 19 Dec 2010 18:28:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
Changing the topology of a flow graph with a valve leads to runtime erros
Uaudio_alsa_source[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_source(2) using
ninputs=0, noutputs=1
This can be avoided by the attached patch.
Depending on the state of stream the parameters are not set or the
stream will be restarted.
So you can even stop and restart the sound input without runtime errors.
Volker
audio_alsa_source.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Patch-gnuradio] Small patch for audio_alsa_source,
Volker Schroer <=