d04aeea00bdaa999821e1a15c437ea648bd07195 |
|
23-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: AAudio_setMMapPolicy() Controls whether MMAP data path is used NEVER, AUTO or ALWAYS For testing only. To improve code coverage in CTS. Bug: 38268547 Test: write_sine.cpp Change-Id: Iad97876fb6f1d0c653262161b7b5519d83d16ac5 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
cf5f6d2825d9a8430a291042ca9c6f68e5b666d0 |
|
26-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: reduce logspam, improve critical logs This will make AAudio less annoying and easier to debug. Bug: 62080950 Test: look in logcat Change-Id: Id7ae26a212f83ea8be0b285bd20334eb48607be8 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
87c9f646a94259d7c321c3b3d5947fa1778f5ac2 |
|
17-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: lower latency using MMAP capture MMAP can be enabled by setting system properties. Bug: 38267780 Test: input_monitor.cpp Change-Id: I5e86fd1d9baef4fe59837ccbca7971acbb54d8b5 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
9b3f8ef290bd5ad392f5eba8a0f0a8ddd331b54f |
|
16-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: fix leak of AAudioBinderClient Made it a Singleton that gets reused. Bug: 37992613 Test: write_sine_callback.cpp Change-Id: I63c045bd71d3bc1fc84f5fd4d7a6159fa5184c1c Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
c8f69a08a409fd163873d725c63f8d60259ae21d |
|
12-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: control MMAP mode using system properties To facilitate testing of MMAP mode. Bug: 38268547 Test: set properties, see framesPerBurst in write_sine_callback.cpp Change-Id: I6e15c563215017f6a5020d89ac312ff8331afc4f Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
dfd68662b07caacc0e7cd7a20d437b90b5ab3ae3 |
|
12-May-2017 |
Eric Laurent <elaurent@google.com> |
AAudio: fix exclusive mode Regression introduced by commit e2fbb59e. Bug: 38247512 Test: verify exclusive mode with write_sine_ndk app. Change-Id: Id85b922d994fba33561489ca06d4a8fd6e97c416
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
e2fbb59e729f6c3cade3b531f6f6411417ccbf40 |
|
02-May-2017 |
Phil Burk <philburk@google.com> |
aaudio: add setPerformanceMode() The performance mode affects the latency and the implementation of the data path. MMAP is still disabled for now. Bug: 37867485 Test: write_sine.cpp Change-Id: I9bf5d5d13d1047d5ace69bd5ebdce7b6d65c14e7 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
4c5129b410884ec0400cbe65fce56d0ade12d11b |
|
29-Apr-2017 |
Phil Burk <philburk@google.com> |
aaudio: Fix getFramesWritten() for callback mode. Plus other small fixes for CTS and cleanup Bug: 37910599 Test: test_aaudio.cpp Change-Id: I65a23daf99e9de857d3ce9fd12e9f11c614e298e Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.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/core/AudioStreamBuilder.cpp
|
5bab576c2f03c02e8ae6020127ba962d96172e8a |
|
20-Apr-2017 |
Phil Burk <philburk@google.com> |
aaudio: disable EXCLUSIVE mode It does not work because of SELinux restrictions. Bug: 37167970 Test: we are disabling a feature because it does not work Change-Id: If97ae72bde50dbc7808eb0768de25e6fbb388429 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.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/core/AudioStreamBuilder.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/core/AudioStreamBuilder.cpp
|
e4d7bb418df0fdc4c708c334ba3601f5ed8d89b3 |
|
28-Mar-2017 |
Phil Burk <philburk@google.com> |
libaaudio: implement callback Use AudioTrack and AudioRecord TRANSFER_CALLBACK. Add FixedBlockAdapter to provide fixed size callbacks. Bug: 36489240 Test: CTS test_aaudio.cpp Change-Id: Id2034dd640f878dd27fee6b43ad80a01c627dfd6 Signed-off-by: Phil Burk <philburk@google.com> (cherry picked from commit c8f372c22a0e4c667a3ad3c1ec569032574c1d64)
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.cpp
|
c35f3ae6f361a346b6d823601c69dd704afe644a |
|
14-Feb-2017 |
Phil Burk <philburk@google.com> |
libaaudio: remove LEGACY sharing mode It was a poor API. Choosing the AudioTrack path is not a sharing mode. Instead we decide internally, which path to choose based on sharing mode and availability. Test: CTS nativemedia/aaudio/test_aaudio.cpp Change-Id: I8b6246b95cea807dcd0fc82e08a16f68f17b47f3 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/src/core/AudioStreamBuilder.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/core/AudioStreamBuilder.cpp
|