History log of /frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6d7582e9ad858301b3eeff7b187af6c34808cb7e 12-Jan-2018 Kevin Rocard <krocard@google.com> Audio V4: Use the framework audio.h instead of the HAL's

Using the legacy HAL interface was not needed. Only the system audio
header types are used by aaudio.

Test: compile
Bug: 38184704
Change-Id: I321635ef79732eb20864d1349e6a13911ece8da5
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
4e1af9fc9c1108d4514e92774f750bcd434dbbcc 04-Jan-2018 Phil Burk <philburk@google.com> aaudio: implement sessionId for effects

If a sessionID other than AAUDIO_SESSION_ID_NONE is requested
then legacy data path will be forced.

SessionID is implemented for MMAP data path but not used.
It is easier to implement it now then try to figure
it out later.

Bug: 33268927
Test: test_session_id.cpp will be moved to CTS when stable
Change-Id: I3ea67f57c1cbe24a512980f1352b917ab3cb6387
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
d4ccc624201d5c74ff6e14db1b68743b41fe795c 21-Dec-2017 Phil Burk <philburk@google.com> aaudio: implement new USAGE, CONTENT_TYPE and INPUT_PRESET

Pass these audio attributes to AudioFlinger.

Bug: 68052449
Bug: 62104146
Test: test_attributes.cpp will be moved to CTS when ready
Change-Id: Ib8804614d95dcf1b85e51ec1f5569892e017a991
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
fbf031e8f197c916ae9c399f42926494ebdeb497 13-Oct-2017 Phil Burk <philburk@google.com> aaudio: cleanup logs and comments

This CL should not change any code behavior except for log text.
Mostly it removes redundant class names from the log.

Test: CTS nativemedia/aaudio
Change-Id: I6a6d01da080f536d5345f2b0deb32e92ed1e3d47
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
15f7cab18eb12870545734588b12d873d0fe5d84 04-Aug-2017 Phil Burk <philburk@google.com> aaudio: fix EXCLUSIVE mode interfering with SHARED

The MMAP endpoints were not tracked by the EndpointManager
so it could not broker EXCLUSIVE access. To fix this the MMAP stream
was refactored to use a per-client stream and a per-device endpoint.

Cleanup close() of MMAP stream.
Add AAudioServiceEndpointShared.cpp.
Extract AAudioServiceEndpointMMAP from AAudioServiceStreamMMAP.
Track MMAP endpoints so we can manage EXCLUSIVE and SHARED access.

Bug: 64494572
Bug: 64310586
Test: see bug, use write_sine to play a shared stream and a excl stream
Change-Id: I5053193abfd9b8a69a2f7e1110739d65e2af5d64
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp
901f65deb49786f4dffd39ac965c0bb681392c0b 13-Jul-2017 jiabin <jiabin@google.com> Add parameters validation on AAudio MMap server

Bug: 63384314
Test: adb shell /system/bin/write_sine -m -pl -n4 \
&& adb shell /system/bin/write_sine -pl -n4 \
&& adb shell /system/bin/write_sine_callback -m -pl -n4 \
&& adb shell /system/bin/write_sine_callback -pl -n4 \
&& adb shell /system/bin/CtsNativeMediaAAudioTestCases32

Change-Id: I462f956e8fc25eb583699af6389e0f299243eafb
/frameworks/av/media/libaaudio/src/core/AAudioStreamParameters.cpp