On Tue, 2007-08-07 at 14:12 +0530, Nobin Mathew wrote:
Any way calling close() before open() is not possible, i will restate it as calling close() before prepare().
Thanks Nobin Mathew
On 8/6/07, Nobin Mathew nobin.mathew@gmail.com wrote:
Hi Liam,
There are some players which will call snd-pcm_close() before any open call, i dont know why they are calling this. So in ASoC it will put the stream in SNDRV_CTL_POWER_D3hot and pop_wait equal to 1. This state will make problems in snd_pcm_prepare (i.e soc_pcm_prepare).
Trouble creating players and libraries are mpg123 and gstreamer library.
Can you give more detail about the problems. It's not obvious from your message. SNDRV_CTL_POWER_D3hot and pop_wait should not stop audio playback starting again.
Thanks
Liam