summaryrefslogtreecommitdiffstats
path: root/media/libnbaio/AudioStreamOutSink.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use new channel count functions for audio masksAndy Hung2014-05-161-1/+2
| | | | | Change-Id: Ia658ab4b6320d19fdb50f123c930918724ff0ef3 Signed-off-by: Andy Hung <hunga@google.com>
* NBAIO::Format_from_SR_C requires audio_format_t parameterGlenn Kasten2014-03-071-1/+1
| | | | Change-Id: I4b65f6ed2f6ca3608b3a5f88f52a93af0b9b1f4a
* Remove restriction for HAL streams of AUDIO_FORMAT_PCM_16_BITGlenn Kasten2014-03-061-7/+5
| | | | Change-Id: I6b89a3ac4b77b9a5a84e3b623987186c3d2db89d
* Remove Format_frameBitShift()Glenn Kasten2014-03-061-1/+0
| | | | Change-Id: Iae2e80a7330c5dd0f70a263051aa44c23cfe3541
* Use mFrameSize instead of mBitShiftGlenn Kasten2014-03-061-2/+2
| | | | Change-Id: Idac335ae70cc9300bb3325839fe8ef1e9e097245
* Add mFrameSize but do not remove mFrameBitShift yetGlenn Kasten2014-03-061-0/+1
| | | | Change-Id: Icb1edefeb6a0e659503f6b7a92c9d15784df9865
* Use Format_isValid() and Format_isEqual() instead of direct comparisonGlenn Kasten2014-02-031-2/+2
| | | | Change-Id: Ie87607aa514976947540a77775e6425c4e56e7d9
* 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