rockbox/firmware/target/hosted/android
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
..
app touchscreen: Fix kinetic scrolling when the statusbar is off. 2012-04-05 15:01:59 +02:00
button-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
buttonmap.h
debug-android.c
dir-target.h android/ypr0: Merge fs-*.c to generic filesystem-unix.c. 2012-01-21 18:39:19 +01:00
lcd-android.c touchscreen: Fix kinetic scrolling when the statusbar is off. 2012-04-05 15:01:59 +02:00
pcm-android.c android: Rewrite PCM playback without OnPlaybackPositionUpdateListener. 2013-04-01 11:26:12 +02:00
powermgmt-android.c
system-android.c android: implement system_exception_wait and system_reboot, so that the panicf() screen can be exited. 2012-03-30 11:23:07 +02:00
system-target.h android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
telephony-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00