summaryrefslogtreecommitdiff
path: root/firmware/target/arm/rk27xx/i2c-rk27xx.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-03-16 22:35:54 +0100
committerThomas Martitz <kugel@rockbox.org>2013-04-01 11:26:12 +0200
commit9f242e7be4f301e965d0bf35908a9bcaacdfdcae (patch)
tree55952fcaa07f6cdb0657f255c6cbf28cbd2c2c95 /firmware/target/arm/rk27xx/i2c-rk27xx.c
parent9add11d79a5e1516908a4935a3e538880ff38378 (diff)
downloadrockbox-9f242e7be4f301e965d0bf35908a9bcaacdfdcae.tar.gz
rockbox-9f242e7be4f301e965d0bf35908a9bcaacdfdcae.zip
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>
Diffstat (limited to 'firmware/target/arm/rk27xx/i2c-rk27xx.c')
0 files changed, 0 insertions, 0 deletions