• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libaaudio/src/binding/
History log of /frameworks/av/media/libaaudio/src/binding/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be9c9d5a8168a4818c0296ac30dbd6120aac0727 01-Jun-2017 Glenn Kasten <gkasten@google.com> Merge "Replace AAUDIO_DEVICE_UNSPECIFIED by AAUDIO_UNSPECIFIED" into oc-dev
5f510d2e1d9976f45d1d1733f20ec32e56bd2239 31-May-2017 Glenn Kasten <gkasten@google.com> Replace AAUDIO_DEVICE_UNSPECIFIED by AAUDIO_UNSPECIFIED

Bug: 62220981
Test: builds OK (they have the same value 0)
Change-Id: Iba710f252df939c15da6cf17b9086a8e9ced25cc
AudioStreamConfiguration.h
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>
AudioStreamConfiguration.cpp
AudioStreamConfiguration.h
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>
AudioServiceDefinitions.h
udioEndpointParcelable.cpp
haredMemoryParcelable.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>
AudioBinderClient.cpp
AudioBinderClient.h
77994d70fe8d4805126361bbd0afbcac1cd1d2f0 11-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: validate audio data format" into oc-dev
5204d315c6c6f53188f8d1414dd1b55b6c90142b 05-May-2017 Phil Burk <philburk@google.com> aaudio: validate audio data format

Also lots of minor cleanup
Fix underscores in some headers
Refactor getTimestamp()

Bug: 34127069
Bug: 38227780
Test: CTS test_aaudio.cpp
Change-Id: I6fdb50eb00a41688df871018ced91d5f5f055f8a
Signed-off-by: Phil Burk <philburk@google.com>
AudioBinderClient.h
AudioServiceInterface.h
AudioServiceMessage.h
AudioStreamConfiguration.h
AudioStreamRequest.h
udioEndpointParcelable.h
AAudioService.h
ingBufferParcelable.cpp
ingBufferParcelable.h
haredMemoryParcelable.h
haredRegionParcelable.h
942bdc0aebc88dc8b12c0e7742ec0003bbb8b80f 03-May-2017 Phil Burk <philburk@google.com> aaudio: plug some resource leaks

Close some file descriptors for shared memory that were not getting closed.

Bug: 37947848
Test: see bug for test procedure
Change-Id: Icdc13188b0a49d08b67babff0852c3a4eda8fd2b
Signed-off-by: Phil Burk <philburk@google.com>
haredMemoryParcelable.cpp
haredMemoryParcelable.h
478d5df3a0e1693669f5809176d5c7f6e8c9aa88 01-May-2017 Phil Burk <philburk@google.com> aaudio: fix mmap result checking

Was checking for nullptr not MAP_FAILED

Bug: 33398120
Test: see mmap() docs
Change-Id: I02d178cb0188f8b0d6cd009699dccc7c97952e4b
Signed-off-by: Phil Burk <philburk@google.com>
haredMemoryParcelable.cpp
haredMemoryParcelable.h
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>
AudioBinderClient.cpp
AudioBinderClient.h
AudioServiceDefinitions.h
AudioServiceInterface.h
AudioServiceMessage.h
AudioStreamConfiguration.cpp
AudioStreamRequest.cpp
AudioStreamRequest.h
AAudioService.cpp
AAudioService.h
haredMemoryParcelable.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>
AudioStreamConfiguration.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>
AudioBinderClient.h
AudioServiceMessage.h
AudioStreamConfiguration.cpp
AudioStreamConfiguration.h
AudioStreamRequest.cpp
AudioStreamRequest.h
AAudioService.cpp
haredMemoryParcelable.cpp
haredRegionParcelable.cpp
haredRegionParcelable.h
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)
AudioBinderClient.cpp
AudioBinderClient.h
AudioServiceDefinitions.h
AudioServiceInterface.h
AudioServiceMessage.h
AudioStreamConfiguration.cpp
AudioStreamConfiguration.h
AudioStreamRequest.cpp
AudioStreamRequest.h
udioEndpointParcelable.cpp
udioEndpointParcelable.h
AAudioService.cpp
AAudioService.h
ingBufferParcelable.cpp
ingBufferParcelable.h
haredMemoryParcelable.cpp
haredMemoryParcelable.h
haredRegionParcelable.cpp
haredRegionParcelable.h
3316d5e6d375a4f09c681205e9094d30a0bfc4a2 15-Feb-2017 Phil Burk <philburk@google.com> libaaudio: changes for API council

Removed typedefs like aaudio_sample_rate_t
Removed use of handles. Just pass back opaque pointers.
Simplified gettersi in Stream.
Removed getters from Builder.
Update libaaudio.map.txt

Test: CTS test_aaudio.cpp
Change-Id: I63eaec3e5a8ecc516cfc1f950f4b4f54df1bd518
Signed-off-by: Phil Burk <philburk@google.com>
AudioServiceDefinitions.h
AudioServiceMessage.h
AudioStreamConfiguration.h
AAudioService.cpp
AAudioService.h
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>
AudioServiceDefinitions.h
AudioServiceMessage.h
AudioStreamConfiguration.cpp
AudioStreamConfiguration.h
AudioStreamRequest.cpp
AudioStreamRequest.h
udioEndpointParcelable.cpp
udioEndpointParcelable.h
AAudioService.cpp
AAudioService.h
ingBufferParcelable.cpp
ingBufferParcelable.h
haredMemoryParcelable.cpp
haredMemoryParcelable.h
haredRegionParcelable.cpp
haredRegionParcelable.h