Audio and mpc5200 bestcomm tasks

Jon Smirl jonsmirl at gmail.com
Fri May 22 04:52:32 EST 2009


ALSA really wants to dynamically know the address of the current DMA
location while transfers are active. This is an important piece of
implementing pause/resume. Pause doesn't work too well if there is 2s
of music already queued. The work around is to know the sample rate
and use the jiffy count to estimate how far into the buffer DMA has
progressed. But that's not as accurate as just asking the DMA
hardware.

I poked around in the SRAM data and couldn't find the address. Is it
there or can the Bestcomm tasks be modified to leave it somewhere
visible?

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list