summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/i_sound.c (follow)
Commit message (Collapse)AuthorAge
* Revise the PCM callback system after adding multichannel audio.Michael Sevakis2012-03-03
| | | | | | | | | | | | | | | | | | 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>
* Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.Andree Buschmann2011-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
* rockdoom: Mixing 512 samples in an interrupt handler is too much. Gigabeast ↵Michael Sevakis2009-01-05
| | | | | | FIFOs are very tight and it will channel swap and crackle. It's better to minimize time in the audio callback anyway so change it to 128. It should probably even be 64. Use faster saturation code too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19679 a1c6a512-1295-4272-9138-f99709370657
* Plugins that play sound must be sure to set inputs and outputs on audio ↵Michael Sevakis2007-06-10
| | | | | | muxed targets. Add strict adherence to the interface protocols. Make sure playback sets the playback output as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13604 a1c6a512-1295-4272-9138-f99709370657
* use 11025Hz on all players that support itMarcoen Hirschberg2007-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12067 a1c6a512-1295-4272-9138-f99709370657
* Doom for the Gigabeat and some code reductionKarl Kurbjun2007-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12051 a1c6a512-1295-4272-9138-f99709370657
* Implement pcm_set_frequency in the sim. Update Doom plugin to have sound in ↵Dan Everton2007-01-05
| | | | | | the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11916 a1c6a512-1295-4272-9138-f99709370657
* Dehacked and BEX support for Doom - currently only supports a DEHACKED file ↵Karl Kurbjun2006-12-13
| | | | | | in a WAD (not as a standalone file yet). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11738 a1c6a512-1295-4272-9138-f99709370657
* Fix sound in Doom on H10 - we don't support 11025Hz so use 44100Hz instead.Barry Wardell2006-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10895 a1c6a512-1295-4272-9138-f99709370657
* Make doom work with sound on X5.Jens Arnold2006-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10758 a1c6a512-1295-4272-9138-f99709370657
* Optimizations for doom: coldfire asm drawspan routine = not much, fixed ↵Karl Kurbjun2006-04-20
| | | | | | point multiply changes = not much, H300 asm lcd update = some, IRAM sound updates and simplifications = more git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9747 a1c6a512-1295-4272-9138-f99709370657
* Temporary fix for the high-pitched sounds on iPod: they should sound correct ↵Zakk Roberts2006-04-17
| | | | | | now, but the real problem (frequency adjustment) still needs fixing; this is merely a workaround. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9698 a1c6a512-1295-4272-9138-f99709370657
* Decrease doom's code size and some code cleanup.Karl Kurbjun2006-04-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9690 a1c6a512-1295-4272-9138-f99709370657
* Patch #2969 - Doom! Currently only working on the H300.Dave Chapman2006-03-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9312 a1c6a512-1295-4272-9138-f99709370657