History log of /frameworks/av/media/libnbaio/MonoPipe.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f6a0435713c435e1aaeacbfd9ce7abb6a5b19a9 19-Jun-2014 Mark Salyzyn <salyzyn@google.com> libnbaio: 64-bit compile warnings

Change-Id: I9517c32193031dcc7af7b2104e985d66805b84aa
/frameworks/av/media/libnbaio/MonoPipe.cpp
3f35eb55f0e2bc5a4dda7f58ed52654403a87efa 21-Nov-2013 Glenn Kasten <gkasten@google.com> Fix log spam when MonoPipe is unable to get local frequency

Local frequency does not change, so only ask for it the first time a
MonoPipe is constructed in a given client process. Thereafter use a
previously cached value. Likewise, if the local frequency is unavailable,
only log this the first time.

Change-Id: Ib1fc7251c3832e02fe03811db39a87e500f1df50
/frameworks/av/media/libnbaio/MonoPipe.cpp
4d693d6b8cc1283f92f5301daf19a07abc772a2b 06-Mar-2014 Glenn Kasten <gkasten@google.com> Use mFrameSize instead of mBitShift

Change-Id: Idac335ae70cc9300bb3325839fe8ef1e9e097245
/frameworks/av/media/libnbaio/MonoPipe.cpp
72e54af9fcdc4754914fe2bf8de699523538b315 31-Jan-2014 Glenn Kasten <gkasten@google.com> Use const NBAIO_Format& in parameter lists

This is in preparation for changing the typedef to a struct.

Change-Id: I8d73a6b29580c65105afd78f24db7e2f4a1eb872
/frameworks/av/media/libnbaio/MonoPipe.cpp
e311b15cf821f65f68af2cdfe01e864cbc9a86ce 11-Jan-2014 Nick Kralevich <nnk@google.com> Merge "Fix c++11 narrowing"
3b546caeb0a576c4d7d7f1e8d2fdfed2bb8bdeed 25-Oct-2013 synergydev <synergye@codefi.re> Fix c++11 narrowing

The best fix for these narrowing
violations is to use static casting

As an example, this change would the following for libnaio:
error: non-constant-expression cannot be narrowed from
type 'uint32_t' (aka 'unsigned int') to 'long' in initializer list

const struct timespec req = {0, ns};
^~

Change-Id: I04ed1de4497dc19772194afef3ebf8fe0c8b82bc
/frameworks/av/media/libnbaio/MonoPipe.cpp
4d0815d694e5a2edb3ce48427de50f55d0f84c0b 29-Aug-2013 Glenn Kasten <gkasten@google.com> Implement MonoPipe::getTimestamp

using SingleStateQueue observer

Change-Id: I7b1928b087f1e676c7b291df6cefa7707301662c
/frameworks/av/media/libnbaio/MonoPipe.cpp
a07a1c2c91dc7ee6ded319262499f20cd01edcf7 23-Aug-2013 Glenn Kasten <gkasten@google.com> Instantiate SingleStateQueue<AudioTimestamp>

as typedef AudioTimestampSingleStateQueue and use it in MonoPipe.

Change-Id: Idaebb362bd9d0a81a7ed83792ab9369dc37c0e74
/frameworks/av/media/libnbaio/MonoPipe.cpp
767094dd98b01baf21de2ad09c27b3c98776cf73 23-Aug-2013 Glenn Kasten <gkasten@google.com> Add NBAIO_Sink::getTimestamp()

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
/frameworks/av/media/libnbaio/MonoPipe.cpp
9bb6e65def86afb36a03643c50456e646cdf98a8 28-Sep-2012 Glenn Kasten <gkasten@google.com> Enable write side of MonoPipe to be shutdown

Bug: 7253033
Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
/frameworks/av/media/libnbaio/MonoPipe.cpp
003d9f71937070791418bf7efc1f7fe1e4c6b821 28-Sep-2012 Glenn Kasten <gkasten@google.com> Enable write side of MonoPipe to be shutdown

Bug: 7253033
Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
/frameworks/av/media/libnbaio/MonoPipe.cpp
99ae06be60d7ccd753a0808191583225e5533f3a 24-Sep-2012 Glenn Kasten <gkasten@google.com> Check clock_gettime(CLOCK_MONOTONIC) for failure

Bug: 7100774
Change-Id: I15a84a19bb6d6ef1d9dac4beaa03587638196404
/frameworks/av/media/libnbaio/MonoPipe.cpp
80b3273cea8660fe8a5868d024d2788a1e083ffc 24-Sep-2012 Glenn Kasten <gkasten@google.com> Check clock_gettime(CLOCK_MONOTONIC) for failure

Bug: 7100774
Change-Id: I15a84a19bb6d6ef1d9dac4beaa03587638196404
/frameworks/av/media/libnbaio/MonoPipe.cpp
fc7992bd8220824f1404c0c54ac516d9e28b58c2 29-Aug-2012 Glenn Kasten <gkasten@google.com> Move libnbaio out of AudioFlinger

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
/frameworks/av/media/libnbaio/MonoPipe.cpp
2dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0 29-Aug-2012 Glenn Kasten <gkasten@google.com> Move libnbaio out of AudioFlinger

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
/frameworks/av/media/libnbaio/MonoPipe.cpp