[alsa-devel] Repeated calls to trigger and prepare in ALSA driver
Hi All,
I am trying to develop ALSA PCM driver for my hardware board which has I2S-DMA interface.
I ran a OSS test application. I find that trigger() and prepare() calls are being called repeatedly. Consequently, the DMA tries to reset and start playback for every buffer.
Have any of you faced this problem? Any clue in this matter would be helpful.
Thanks _________________________________________________________________ Tried the new MSN Messenger? It’s cool! Download now. http://messenger.msn.com/Download/Default.aspx?mkt=en-in
On Jul 4, 2008, at 7:12 AM, DSP Tech wrote:
I ran a OSS test application. I find that trigger() and prepare() calls are being called repeatedly.
Yes, this is normal.
Consequently, the DMA tries to reset and start playback for every buffer.
Then you need to redesign your driver so that either A) this doesn't happen, or B) it doesn't matter that it happens.
participants (2)
-
DSP Tech
-
Timur Tabi