Re: [alsa-devel] HDA driver without interrupt
3 May
2012
3 May
'12
10:37 a.m.
Fanchao Liu wrote:
It can transfer data via DMA,the problem is I don't know when to update hw_ptr and other pointers without interrupt.
Does the hardware have some other means to at least read the current position?
I set a timer and call snd_pcm_period_elapsed() every 50ms but get underrun error.
With a call to snd_pcm_period_elapsed(), the driver guarantees that the current position is at or after the next period boundary.
Regards, Clemens
4616
Age (days ago)
4616
Last active (days ago)
0 comments
1 participants
participants (1)
-
Clemens Ladisch