History log of /frameworks/av/media/libaudioclient/AudioTrackShared.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
54274035905ef52c7eb88309aec5e5b8f25be471 20-Apr-2018 Andy Hung <hunga@google.com> AudioTrackShared: Fix wrap condition for stop limit

Test: Photos video playback and repeat accessing info
Bug: 68747620
Change-Id: I8c4afa44c0a0a7f689fbc8797ee815e8ae960979
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
1d3556d6a068f141ac390a04f6a9d92a70f8d7ed 30-Mar-2018 Andy Hung <hunga@google.com> AudioTrack: Prevent server from reading client data after stop

Prior to this CL, if an AudioTrack client wrote audio data after
AudioTrack stop(), but before the track was drained by the server,
the newly written client data would be consumed in the drain.

We now limit the server read to the client write position on stop.
This interlocking is essential for rapid asynchronous AudioTrack
command processing.

Test: AudioTrack CTS, SoundPool looping, bug test case
Bug: 75788313
Change-Id: Ib70e3dc46afe047a8c6cf1fb906a618b3c66cc7f
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
bfe83e8158f2c7e3cba81a0c2e5786e1eef005cb 04-Aug-2017 Andy Hung <hunga@google.com> Merge "AudioTrackShared: Log more detail on fatal errors" into oc-dr1-dev am: c8adbea083
am: ca5104eb94

Change-Id: If662b76ab0c1c2c760c42cf24f70bb8aeab57e0b
9c64f34be9e56c70eb1aa22ea8e7ce28fe1a2970 03-Aug-2017 Andy Hung <hunga@google.com> AudioTrackShared: Log more detail on fatal errors

Test: basic audio use regression test
Bug: 63868320
Change-Id: Ia4caba9a878b308e6fa0c96ec124443cd96f125f
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
d4ee4db973192806809caab637dc0ef081990754 13-Jul-2017 Andy Hung <hunga@google.com> AudioTrack: Fix flush problem with integer sanitization

And other more rare cases of counter overflow.

Test: Custom flush test
Bug: 63544101
Change-Id: I48ee46966db79ab191ca948d00822e3b6e0cb865
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
2c6c3bb76b2fa18ed3536331a1700250bd04c7ce 16-Jun-2017 Andy Hung <hunga@google.com> AudioFlinger: Log Record and MMap thread events

Also update track dump for better grouping and consistency.

Test: adb shell dumpsys media.audio_flinger
Bug: 62700410
Bug: 62701585
Change-Id: I3a6e76eac871cb08ff14d45f7d3992a6e7fba045
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
1bfe09a0b1755a79abd32b41c0dd433b88fc260c 21-Feb-2017 Glenn Kasten <gkasten@google.com> Improve audio logs and dumpsys media.audio_flinger

Include mFrameCount in shared memory corrupt error log.

Fix typo in log for primary audio interface.

Include the new server frame count in logs for fast tracks.

Always log when fast is successful for output tracks, as it helpful
(was already there for input).

Cleanup dumpsys for threads.

Test: builds OK, and logs contain more information
Change-Id: I2b5b4d700e8eb7c261a3125fb03ddc00bf08537e
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp
538ec5e04f389cba637b030757be317fcb8677a8 02-Nov-2016 Marco Nelissen <marcone@google.com> Split libmedia into libmedia and libaudioclient

This makes it so audioserver doesn't need to link against the entire libmedia,
which has dependencies on camera, ICU, OpenGL and other things that aren't
needed for audio.

Test: build/boot

Change-Id: I99ba1a3dc3b33ca9b3abd98e7519dbf228ee62af
/frameworks/av/media/libaudioclient/AudioTrackShared.cpp