331679c8a5cd21a0e6a7a1d851e965e4721f7420 |
|
17-Apr-2018 |
Eric Laurent <elaurent@google.com> |
Revert "Revert "audioflinger: implement silenced capture for mmap"" This reverts commit 611ebb95e76c230214780b7b583b8a3c5277ac7a. Bug: 78118584 bug: 72134552 Test: 'adb shell write_sine_callback -m3 -pl -s100 -x' and Plug headphones in and out. Test: AAudio CTS tests Change-Id: I7558ad7b9c6c2d352ebce105382fe914c26fd35e
/frameworks/av/services/audioflinger/MmapTracks.h
|
611ebb95e76c230214780b7b583b8a3c5277ac7a |
|
16-Apr-2018 |
Eric Laurent <elaurent@google.com> |
Revert "audioflinger: implement silenced capture for mmap" This reverts commit a2f478ca0b2bda8db9b321f0cfa9e9d3cf6130f9. Bug: 78118584 Change-Id: Ie0da3dea445f2474c7a889c5f9919305c1c96d40
/frameworks/av/services/audioflinger/MmapTracks.h
|
a2f478ca0b2bda8db9b321f0cfa9e9d3cf6130f9 |
|
11-Apr-2018 |
Eric Laurent <elaurent@google.com> |
audioflinger: implement silenced capture for mmap Implement silencing of audio capture for idle UIDs for MMAP streams. Use audio HAL setMicGain() API to silence the mmap buffer for exclusive mode and when only one client is active in shared mode. Add new MmapStreamCallback method onStreamSilenced() for AAudio service to selectively silence streams from silenced UIDs in shared mode. Bug: 72134552 Test: manual Change-Id: I7c92ba0002bc5ba003c1a3c887edddf9ae53b538
/frameworks/av/services/audioflinger/MmapTracks.h
|
1f564acca544826daaf7dca44e39cec6016b82fd |
|
29-Mar-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: Propagate audio attributes to tracks This patch has not functional changes. Bug: 38184704 Bug: 69623109 Test: play music and a audio Change-Id: Ide6ec7de4dbfab4af2653475901c3b3daee36e52 Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/services/audioflinger/MmapTracks.h
|
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/services/audioflinger/MmapTracks.h
|
bf49308851509d38dbf3f57d9682a819d9f983c9 |
|
18-Apr-2017 |
Mikhail Naganov <mnaganov@google.com> |
audioflinger: Make use of android-base/macros.h Replace local definitions of "array size" macro, and declarations of non-copyable objects with corresponding constructs from android-base/macros.h. Also change "protected:" to "private:" for classes not designed to be inherited. Change-Id: I2d1e6d153511ed84d52fe6377879f83258890653 Test: make
/frameworks/av/services/audioflinger/MmapTracks.h
|
6acd1d432f526ae9a055ddaece28bf93b474a776 |
|
04-Jan-2017 |
Eric Laurent <elaurent@google.com> |
Add support for mmap stream Add support for MMAP streams created by Oboe service. - A new audio thread class MmapThread deriving from ThreadBase is added to manage permissions, volume, routing and wakelocks for activity on MMAP streams. - Requests received over MmapStreamInterface to open, start and stop a MMAP stream are forwarded to audio policy manager so that activity on MMAP capture and playback streams is visible to audio policy and taken into account in volume and routing management. ` Bug: Bug: 33398120 Test: manual test Change-Id: I957906495fe9277d2972d810b633f50cd1e14ec3
/frameworks/av/services/audioflinger/MmapTracks.h
|