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/binding/AAudioStreamConfiguration.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/binding/AAudioStreamConfiguration.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/binding/AAudioStreamConfiguration.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/binding/AAudioStreamConfiguration.cpp
|
9dca9824da74d50be02bc81f539cc77b7bde678a |
|
26-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: remove deprecated aaudio_audio_format_t Should be using aaudio_format_t Bug: 62141619 Test: compile and run CTS test_aaudio.cpp Change-Id: Ibbba2769dfd8bcd9c108d87c19fe1fad2ba43df1 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|
71f35bb687476694882a617ba4a810a0bb56fe23 |
|
14-Apr-2017 |
Phil Burk <philburk@google.com> |
aaudio: fix SHARED MMAP mode in server plus other bugs Fixed some buffer miscalculations, and some NPEs in the close() code. Added debugging and some general cleanup. Fixed data conversion. Fixed start/pause/flush in server. Added reference counting in server for endpoints. Programs can now be ran more than once. General code cleanup. Reconnect with service if server dies. Move stop() logic into server for better synchronization. Add sleep to prevent race condition when closing an MMAP stream. Bug: 33398120 Test: two write_sine_callback.cpp can be run simultaneously Change-Id: Ibb006215a498868c222228d675ff961d7e0bf514 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|
7473345009b12576d8a768c93cc29a6b404eafd8 |
|
19-Apr-2017 |
Phil Burk <philburk@google.com> |
aaudio: remove AAUDIO_FORMAT_PCM_I8_24 and I32 They were not supported and we may not support them. Bug: 30210002 Test: test_aaudio.cpp Change-Id: Ib8a5d416b93df87e4b73e03789eacf0fd3f77f8e Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|
a4eb0d86a29be2763be5fac51727858d5095794b |
|
13-Apr-2017 |
Phil Burk <philburk@google.com> |
aaudio: merge contents of AAudioDefinitions.h into AAudio.h As requested by native API council. Bug: 30210002 Bug: 33398120 Test: CTS test_aaudio Change-Id: I5ea7c53d09469221263d84cf6f82082e67c2523b Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|
c0c70e3c7dd10bc2c0caffcab1f3f5fb406b35fb |
|
09-Feb-2017 |
Phil Burk <philburk@google.com> |
AAudioService: integrated with audioserver Call the MmapStreamInterface from AudioFlinger instead of the FakeHAL. Fix sending timestamps from the thread. Add shared mode in service. Bug: 35260844 Bug: 33398120 Test: CTS test_aaudio.cpp Change-Id: I44c7e4ecae4ce205611b6b73a72e0ae8a5b243e5 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit 7f6b40d78b1976c78d1300e8a51fda36eeb50c5d)
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|
f53e613b3dedab3ecada2c93d8846233c442d129 |
|
09-Feb-2017 |
Phil Burk <philburk@google.com> |
libaaudio: change name from liboboe Bug: 34749573 Test: CTS test_aaudio.cpp Change-Id: I7e2b621488047f0798ca6f2fc00d2b5fed2bf015 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/binding/AAudioStreamConfiguration.cpp
|