rockbox/firmware/target/hosted
Thomas Martitz 9f242e7be4 android: Rewrite PCM playback without OnPlaybackPositionUpdateListener.
The old way actually mis-used the API (I misunderstood the docs) because
it specified the marker position as a "low buffer watermark" but instead of a
future playback head position.

The replacement is a simple thread that writes the data regardless of the
filling level of the buffer (write() will just block) and polls the playback
state periodically.

Change-Id: If29237cee4ce78dc42f5a8320878bab0cafe78f7
Reviewed-on: http://gerrit.rockbox.org/422
Tested-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-04-01 11:26:12 +02:00
..
android android: Rewrite PCM playback without OnPlaybackPositionUpdateListener. 2013-04-01 11:26:12 +02:00
maemo Tweak some PCM drivers for less typecasting with the data pointer. 2012-03-04 08:52:50 -05:00
samsungypr Samsung YP-R0 LCD improvements 2013-03-06 23:23:52 +01:00
sdl zenxfi2: add simulator defines and image 2013-01-15 21:57:26 +00:00
cpuinfo-linux.c *frequency_linux(): factorize 2012-01-04 00:34:02 +00:00
cpuinfo-linux.h *frequency_linux(): factorize 2012-01-04 00:34:02 +00:00
debug-hosted.c Include stdlib.h for atexit(). 2012-01-25 22:49:19 +01:00
filesystem-unix.c android/ypr0: Merge fs-*.c to generic filesystem-unix.c. 2012-01-21 18:39:19 +01:00
kernel-unix.c android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
kernel-unix.h android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
lc-unix.c load_code: Get rid of win32 specific code in favor SDL_LoadFunction & friends APIs. 2012-05-26 22:46:56 +02:00
pcm-alsa.c Tweak some PCM drivers for less typecasting with the data pointer. 2012-03-04 08:52:50 -05:00
rtc.c Return -1 for not implemented RTC functions. 2011-03-08 21:36:47 +00:00
system-hosted.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00