1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/midi
Michael Sevakis 286a4c5caa Revise the PCM callback system after adding multichannel audio.
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-03-03 07:23:38 +01:00
..
guspat.c midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
guspat.h midi: make the patch sample data pointer a *int16_t to get rid of some ugly casting and drop an acessor macro to make caching the pointer in the synthVoice loop possible. Speeds up midi by 1-2% on cf and 3-5% on PP. 2011-09-06 10:34:20 +00:00
midi.make Use a static pattern rule to restrict the dependency on [pluginname].o to single-file plugins. This allows the pattern rule for %.rock (with all dependencies defined elsewhere) to pick up multi-file plugins with no [pluginname].o file, and get rid of the duplication in (doom|midi|reversi).make. 2009-03-04 23:41:58 +00:00
midifile.c midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
midifile.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
midiplay.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
midiutil.c midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
midiutil.h midi: make the patch sample data pointer a *int16_t to get rid of some ugly casting and drop an acessor macro to make caching the pointer in the synthVoice loop possible. Speeds up midi by 1-2% on cf and 3-5% on PP. 2011-09-06 10:34:20 +00:00
sequencer.c midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
sequencer.h midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
SOURCES Move all of midiplay into its subdir and add a Makefile for it, add header files as necessary. 2007-09-24 15:57:32 +00:00
synth.c midi plugin: make local functions static where possible 2012-02-18 12:06:48 +01:00
synth.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00