summaryrefslogtreecommitdiffstats
path: root/media/libnbaio/AudioStreamOutSink.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix miscellanous AudioTrack::getTimestamp() bugsGlenn Kasten2013-09-031-0/+3
| | | | | | | | | | | | | | Check that get_presentation_position is non-NULL before calling. AudioTrack::getTimestamp not implemented for fast tracks. Fix typo in Track::getTimestamp(). Fix bugs in AudioTrack::getTimestamp after stop: - getTimestamp while stopped is not allowed. - stop, start, getTimestamp now returns the correct value. Change-Id: Ie8d9dc1f28d8927634e04175a68b147ffc2ea8eb
* Add NBAIO_Sink::getTimestamp()Glenn Kasten2013-09-031-0/+12
| | | | | | | | | | with a real implementation in AudioStreamOutSink for dummy implementation initially in MonoPipe. Use in AudioFlinger::PlaybackThread::threadLoop_write() to keep the input to the timestamp latch up-to-date. Change-Id: I10ef277991b63bb43d55d6f3df75116ef32246cd
* Move libnbaio out of AudioFlingerGlenn Kasten2012-08-301-0/+82
libnbaio is now a separate shared library from AudioFlinger, rather than a static library used only by AudioFlinger. AudioBufferProvider interface is now also independent of AudioFlinger, moved to include/media/ Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b