Should pulse_prepare() clear pcm->stream?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

  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
pcm->stream.

  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.

  Rick Bronson



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux