1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/hosted/sdl
Michael Sevakis 08199cd6cb Provide high resolution volume and prescaler to hosted targets.
HAVE_SW_VOLUME_CONTROL is required and at this time only affects the
SDL targets using pcm-sdl.c.

Enables balance control in SDL targets, unless mono volume is in use.

Compiles software volume control as unbuffered when
PCM_SW_VOLUME_UNBUFFERED is defined. This avoids the overhead and
extra latency introduced by the double buffer when it is not needed.
Use this config when the target's PCM driver is buffered and sufficient
latency exists to perform safely the volume scaling.

Simulated targets that are double-buffered when made as native targets
remain so in the sim in order to run the same code.

Change-Id: Ifa77d2d3ae7376c65afecdfc785a084478cb5ffb
Reviewed-on: http://gerrit.rockbox.org/457
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
2013-04-27 06:59:27 +02:00
..
app Pandora port: Add support for the L/R shoulder buttons 2012-03-02 22:49:46 +01:00
button-sdl.c Only use lcd-remote.h #ifdef HAVE_REMOTE_LCD 2012-01-07 19:54:47 +00:00
button-sdl.h Initial maemo platform support 2011-02-08 20:05:25 +00:00
buttonmap.h Rockbox as an application: Add an 320x240 SDL application target. 2010-07-06 15:11:56 +00:00
kernel-sdl.c Hopefully get shutdown/exit handling on SDL/maemo right. 2011-02-28 03:24:48 +00:00
key_to_touch-sdl.c fix button maps and assign some buttons for uisimulator. 2010-10-13 12:54:25 +00:00
lcd-bitmap.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-bitmap.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-charcells.c Fix non-integer display_zoom for charcell. 2012-06-19 21:56:57 +02:00
lcd-charcells.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-remote-bitmap.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-remote-bitmap.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
lcd-sdl.c Change display_zoom from int to double. 2012-06-19 21:27:53 +02:00
lcd-sdl.h Remove extraneous "extern int display_zoom" declarations. 2012-06-14 22:23:50 +02:00
pcm-sdl.c Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
sim-ui-defines.h zenxfi2: add simulator defines and image 2013-01-15 21:57:26 +00:00
system-sdl.c Change display_zoom from int to double. 2012-06-19 21:27:53 +02:00
system-sdl.h Change display_zoom from int to double. 2012-06-19 21:27:53 +02:00
system-target.h Don't duplicate byteswap code. Invent system where NEED_GENERIC_BYTESWAPS is set if the generic functions from system.h are needed. 2010-07-15 22:01:06 +00:00
thread-sdl.c Change the thread api a bit. 2011-03-05 17:48:06 +00:00
thread-sdl.h Implement cooperative threads on hosted platforms using C code. 2011-02-18 22:46:01 +00:00
timer-sdl.c Add svn:keywords to firmware/target/hosted source files 2011-03-05 15:31:52 +00:00