summaryrefslogtreecommitdiff
path: root/firmware/asm/pcm-mixer.c
AgeCommit message (Collapse)Author
2012-03-03Revise the PCM callback system after adding multichannel audio.Michael Sevakis
Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-02-05Urgh...actually change all the stuff I'm supposed to.Michael Sevakis
Goofed a couple fn params. Change-Id: I2474d10fe08d2629ada54c83e201ee91c596d854
2012-02-05Make generic pcm-mixer.c more generic in the way it writes output.Michael Sevakis
Also remove unused firmmware/asm/generic directory. Change-Id: If1961f96f4292f00227a9b0148181152ac405e51
2012-01-22Move pcm_mixer helper routines to firmware/asm.Thomas Martitz