[pulseaudio-discuss] Should pulse_prepare() clear pcm->stream?
rick at efn.org
Thu Dec 18 16:35:12 PST 2008
Lets say you call snd_pcm_prepare() but for some reason the creation
of the stream fails and pa_create_stream_callback() gets called with
command != PA_COMMAND_REPLY then does pa_stream_set_state(s,
PA_STREAM_FAILED). Just before snd_pcm_prepare() exits, it clears out
The problem here is that when snd_pcm_close() gets called it
references *pcm->stream but it's been set to NULL.
Any help or ideas would be greatly appreciated.
More information about the pulseaudio-discuss