diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-03-16 22:35:54 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-04-01 11:26:12 +0200 |
commit | 9f242e7be4f301e965d0bf35908a9bcaacdfdcae (patch) | |
tree | 55952fcaa07f6cdb0657f255c6cbf28cbd2c2c95 /rbutil/rbutilqt/base/utils.h | |
parent | 9add11d79a5e1516908a4935a3e538880ff38378 (diff) | |
download | rockbox-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 'rbutil/rbutilqt/base/utils.h')
0 files changed, 0 insertions, 0 deletions