On Sun, Jul 10, 2011 at 5:39 PM, Alexandru Csete
<address@hidden> wrote:
Greetings,
If a C++ flowgraph containing an audio source (ALSA) is reconfigured
during runtime, the application will crash with:
audio_alsa_source[hw:1]: 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=2
Aborted
Some time ago the same problem has been fixed for the audio_alsa_sink
and the attached patch contains the very same fix for the
audio_alsa_source.
Alex
Thanks! Patch applied and checked in.
Tom