I put together a simple example of a selector which is controlled by a
variable chooser to toggle between two different frequencies. These two
frequencies are dumped to an audio sink. This example works fine (and I
hear the default tone) until the selector input index is changed at
which
point the following error is observed:
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
Does anybody have an idea what is going on here?
-Phelps