1
0
Fork 0
forked from len0rd/rockbox
foxbox/android/src/org/rockbox
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
..
Helper android: clean-up and some refactoring in java code. 2012-03-25 22:28:07 +02:00
monitors Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore). 2011-08-14 08:55:16 +00:00
widgets Android: Fix widget albumart display on pre-2.2 devices. 2011-03-16 11:38:49 +00:00
RockboxActivity.java android: Fix FS#12670, regressed back button behavior. 2012-05-13 20:20:50 +02:00
RockboxFramebuffer.java android: lcd_update/_rect() changes 2012-03-22 23:26:50 +01:00
RockboxKeyboardInput.java android: clean-up and some refactoring in java code. 2012-03-25 22:28:07 +02:00
RockboxPCM.java android: Rewrite PCM playback without OnPlaybackPositionUpdateListener. 2013-04-01 11:26:12 +02:00
RockboxService.java android: Bring back broken unzip progress dialog. 2012-04-17 17:19:31 +02:00
RockboxYesno.java android: Hopefully fix a rare hang of the UI. 2013-01-18 09:49:46 +01:00