• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libaaudio/src/
History log of /frameworks/av/media/libaaudio/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
94e16458f4665d3c167d0e2c905a3f4ec9e7a3e7 06-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "aaudio: reserve some error codes" into oc-dev
17fff38dd9d467bc5fb6cd5b9a6b183951c7750d 16-May-2017 Phil Burk <philburk@google.com> aaudio: reserve some error codes

These codes were unused or redundant.

Bug: 37755198
Test: CTS test_aaudio_misc.cpp
Change-Id: I46797b9fba9406b9c98d4b9aa49f0cacbec332b9
Signed-off-by: Phil Burk <philburk@google.com>
lient/AudioStreamInternal.cpp
ore/AAudioAudio.cpp
ore/AudioStream.cpp
egacy/AudioStreamLegacy.cpp
tility/AAudioUtilities.cpp
1d32e9f8e5ba52d69c6319270c8a63a995d2c4f2 02-Jun-2017 Eric Laurent <elaurent@google.com> aaudio: implement native IPLayer for legacy playback streams

Make AudioStreamTrack derive from PlayerTrackBase to
provide playback and volume control via IPLayer interface.

Bug: 62027849
Test: verify aaudio playback regressions and registration of aaudio
players in AudioService

Change-Id: I5c04110f1554233eae3f1bc357a64a584d7303d1
ndroid.mk
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
160078a07033fb015ecaa46e7249d7702be2a169 01-Jun-2017 Glenn Kasten <gkasten@google.com> Merge "Fix copy/paste errors in use of AAUDIO_FORMAT_UNSPECIFIED" into oc-dev
be9c9d5a8168a4818c0296ac30dbd6120aac0727 01-Jun-2017 Glenn Kasten <gkasten@google.com> Merge "Replace AAUDIO_DEVICE_UNSPECIFIED by AAUDIO_UNSPECIFIED" into oc-dev
37a466ae847cf08fc346e629fe4cf964ad67063f 31-May-2017 Glenn Kasten <gkasten@google.com> Fix copy/paste errors in use of AAUDIO_FORMAT_UNSPECIFIED

Bug: 62222736
Test: builds OK
Change-Id: Iabdac7a3d0893699eb72f85985002535c8f619c7
lient/AudioStreamInternal.cpp
egacy/AudioStreamRecord.cpp
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
inding/AAudioStreamConfiguration.h
ore/AudioStreamBuilder.h
897011a94008cb9ab73f8db397bbd87c57f5cf27 31-May-2017 Glenn Kasten <gkasten@google.com> Merge "aaudio: remove deprecated aaudio_audio_format_t" into oc-dev
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>
ore/AAudioAudio.cpp
ore/AudioStreamBuilder.cpp
tility/AAudioUtilities.cpp
tility/AAudioUtilities.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>
inding/AAudioStreamConfiguration.cpp
inding/AAudioStreamConfiguration.h
lient/AudioStreamInternal.h
ore/AAudioAudio.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.h
egacy/AudioStreamTrack.cpp
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
fb00fc77f59ed5ebec4d38bac666e6521b6c1de0 26-May-2017 Eric Laurent <elaurent@google.com> aaudio: fix device switch detection in legacy path

Implement device switch detection on legacy path (AudioTrack and
AudioRecord) based on audio routing callbacks forcing the stream state
to disconnected.

Bug: 33355262
Bug: 62090113
Test: tested with write_sine and input_monitor command line tools.
Change-Id: I9e0421fee233964b1bf318acb640569196a00f13
egacy/AudioStreamLegacy.cpp
egacy/AudioStreamLegacy.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamTrack.cpp
d08f04f33b80c37bd3889f461846d59f70e726c7 27-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: reduce logspam, improve critical logs" into oc-dev
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>
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStreamBuilder.cpp
egacy/AudioStreamRecord.cpp
egacy/AudioStreamTrack.cpp
c42d5f9ba80d827e135f21c7ff995bc752f6477c 25-May-2017 Phil Burk <philburk@google.com> aaudio: set performance mode of input stream based on actual result

This is to match similar code in AudioStreamTrack.

Bug: 38268707
Test: input_monitor.cpp

Change-Id: I0ffd230816b690c979a8a3fe8a93541511728e89
Signed-off-by: Phil Burk <philburk@google.com>
egacy/AudioStreamRecord.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>
ndroid.mk
inding/AAudioServiceDefinitions.h
inding/AudioEndpointParcelable.cpp
inding/SharedMemoryParcelable.cpp
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/AudioStreamInternalCapture.cpp
lient/AudioStreamInternalCapture.h
lient/AudioStreamInternalPlay.cpp
lient/AudioStreamInternalPlay.h
lient/IsochronousClockModel.cpp
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.h
tility/AAudioUtilities.cpp
d873a5506149ed47164cf9c11add82eaceba24c3 18-May-2017 Mikhail Naganov <mnaganov@google.com> AAudio: Fix counting of written / read frames for legacy input

Add necessary calls to update counters

Bug: 38396189
Test: nativetest/CtsNativeMediaAAudioTestCases*
Change-Id: Ic9636d61766db1c7b88c941e9a1018fccb5f1e88
egacy/AudioStreamRecord.cpp
127999e84646ab51e3f17147e9cd291f557c658a 18-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "AAudio: Set minimum allowed sampling rate to 8000 Hz" into oc-dev
30a707773a043e5eebd552d369c0882f886b67e5 16-May-2017 Phil Burk <philburk@google.com> aaudio: update stream performance mode after open

For example, if you cannot get a FAST track then
the performanceMode of the stream will be AAUDIO_PERFORMANCE_MODE_NONE
instead of AAUDIO_PERFORMANCE_MODE_LOW_LATENCY

Bug: 38268707
Test: write_sine_callback.cpp, change modes and sample rates
Change-Id: I33648bd48fd00d588424fa7e4deb2c57c5008423
Signed-off-by: Phil Burk <philburk@google.com>
egacy/AudioStreamTrack.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>
inding/AAudioBinderClient.cpp
inding/AAudioBinderClient.h
ore/AudioStreamBuilder.cpp
54cf32220ceed7e0dc6dd2f6cf8b078bc88c7752 17-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: fix output bugs and improve input performance, add loopback test" into oc-dev
42ed0988847a3bf3db6c3fa696c9dd4768715b1f 17-May-2017 Mikhail Naganov <mnaganov@google.com> AAudio: Set minimum allowed sampling rate to 8000 Hz

Bug: 37755299
Test: nativetest/CtsNativeMediaAAudioTestCases*
Change-Id: I275c5718d12d285c1613df776946857dded32381
ore/AudioStream.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>
ore/AudioStreamBuilder.cpp
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
4485d41bcded0eceec7ec97d50aa2b0e702397a0 10-May-2017 Phil Burk <philburk@google.com> aaudio: fix output bugs and improve input performance, add loopback test

Support AAUDIO_PERFORMANCE_MODE in AudioStreamRecord.cpp
Fix race condition when closing a stream, which this test revealed.
Fix setting of negative notificationFrames for non-FAST tracks.

Convert test from old Oboe API to AAudio.
Add command line options to the test.
Add systrace calls.

Bug: 34093052
Bug: 38313432
Bug: 38178592
Test: loopback.cpp
Change-Id: Ib6d2995cdd3ed432937fde2f26c5394013f0d6e0
Signed-off-by: Phil Burk <philburk@google.com>
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
egacy/AudioStreamRecord.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.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
ore/AudioStreamBuilder.cpp
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>
inding/AAudioBinderClient.h
inding/AAudioServiceInterface.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.h
inding/AAudioStreamRequest.h
inding/AudioEndpointParcelable.h
inding/IAAudioService.h
inding/RingBufferParcelable.cpp
inding/RingBufferParcelable.h
inding/SharedMemoryParcelable.h
inding/SharedRegionParcelable.h
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/IsochronousClockModel.h
ore/AudioStream.cpp
egacy/AudioStreamLegacy.cpp
egacy/AudioStreamLegacy.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamTrack.cpp
tility/AAudioUtilities.cpp
tility/FixedBlockAdapter.cpp
804b96ffae0e7b22704209ecfd6a87f2aa8c952c 11-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "ligbaaudio: Fix pause, flush and getXRunCount for input streams." into oc-dev
31e436e23a2a6f7d2de57158a1ae6542098a8e63 11-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "aaudio: plug some resource leaks" into oc-dev
068c10f03d16a7f73abf138cc751cf3bde7518df 09-May-2017 Phil Burk <philburk@google.com> ligbaaudio: Fix pause, flush and getXRunCount for input streams.

Bug: 37941092
Bug: 37943598
Test: input_monitor_callback.cpp

Change-Id: Ifc2ea526e4722063e03956bd5f0747adc49ba6ee
Signed-off-by: Phil Burk <philburk@google.com>
egacy/AudioStreamRecord.cpp
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>
inding/SharedMemoryParcelable.cpp
inding/SharedMemoryParcelable.h
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>
lient/AudioStreamInternal.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.h
egacy/AudioStreamTrack.cpp
441f2ccb103fdb6fe6409eac870ea30ee3ccfb33 04-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: Fix getFramesWritten() for callback mode." into oc-dev
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>
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
egacy/AudioStreamLegacy.cpp
egacy/AudioStreamLegacy.h
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
01506e4ad26d1f1bf5b81121a8d17b3305940eab 03-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: fix mmap result checking" into oc-dev
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>
inding/SharedMemoryParcelable.cpp
inding/SharedMemoryParcelable.h
90430d91fab9940880f85e6064c8bd431f840bb2 02-May-2017 Phil Burk <philburk@google.com> Merge "aaudio: set errorCallback user data" into oc-dev
098b883a7dc89b65b72c6d3f1d38c6afd477a0ad 02-May-2017 Phil Burk <philburk@google.com> aaudio: set errorCallback user data

Without this, a nullptr could be passed to the callback instead of
userData.

Bug: 37873111
Test: difficult to test because it requires an error to occur.
Change-Id: I3f262410e0465a8192da2494cadfdb4f8d2188a7
Signed-off-by: Phil Burk <philburk@google.com>
ore/AudioStream.cpp
e572f469de5dca1078a79d3d80e5b04f96ae7505 20-Apr-2017 Phil Burk <philburk@google.com> aaudio: apply volume in the MMAP data path

The volume scaling is in AudioStreamInternal and not the mixer
because we will need volume scaling in EXCLUSIVE mode too.

Bug: 37518243
Test: play a tone using NativeOboe app then press volume keys
Change-Id: Ibbac9770ea4493f8ade64681be86f109a92803cd
Signed-off-by: Phil Burk <philburk@google.com>
ndroid.mk
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
egacy/AudioStreamTrack.cpp
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
tility/LinearRamp.cpp
tility/LinearRamp.h
20523edbf2f597c53b90e76694331c807e559515 25-Apr-2017 Phil Burk <philburk@google.com> aaudio: change samplesPerFrame() to channelCount()

Both functions provided for now.
Will remove deprecated function in later CL.

Bug: 37646784
Test: write_sine.cpp and write_sine_callback.cpp
Change-Id: I1241aafa206112c526d6ca250ba5209489e1a46e
Signed-off-by: Phil Burk <philburk@google.com>
ore/AAudioAudio.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>
inding/AAudioBinderClient.cpp
inding/AAudioBinderClient.h
inding/AAudioServiceDefinitions.h
inding/AAudioServiceInterface.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.cpp
inding/AAudioStreamRequest.cpp
inding/AAudioStreamRequest.h
inding/IAAudioService.cpp
inding/IAAudioService.h
inding/SharedMemoryParcelable.cpp
lient/AudioEndpoint.cpp
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/IsochronousClockModel.cpp
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.h
ifo/FifoBuffer.cpp
tility/AAudioUtilities.cpp
13f2ff3d61ab45277d1e46de55d2978fa031020d 20-Apr-2017 Phil Burk <philburk@google.com> Merge "aaudio: disable EXCLUSIVE mode" into oc-dev
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>
ore/AudioStreamBuilder.cpp
9c90fb9a6a91026843846991b38475d3bbe90a0e 20-Apr-2017 Phil Burk <philburk@google.com> Merge "aaudio: remove old createThread API" into oc-dev
5fbc2ddb4e340d7af02d146ff2e7c3c4da28d535 19-Apr-2017 Phil Burk <philburk@google.com> aaudio: remove old createThread API

This was replaced by the callback API.

Bug: 36489240
Test: the code was removed and cannot be tested
Change-Id: Ieb5cee80d1123221d02146c8c9342c4e0d649575
Signed-off-by: Phil Burk <philburk@google.com>
ore/AAudioAudio.cpp
ore/AudioStream.h
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>
inding/AAudioStreamConfiguration.cpp
tility/AAudioUtilities.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>
inding/AAudioBinderClient.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.cpp
inding/AAudioStreamConfiguration.h
inding/AAudioStreamRequest.cpp
inding/AAudioStreamRequest.h
inding/IAAudioService.cpp
inding/SharedMemoryParcelable.cpp
inding/SharedRegionParcelable.cpp
inding/SharedRegionParcelable.h
ore/AAudioAudio.cpp
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.h
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
tility/AudioClock.h
tility/HandleTracker.cpp
bc942724f95c6e30e640e33c2b35157367714c1c 13-Apr-2017 Phil Burk <philburk@google.com> Merge "AudioTrack and AudioRecord: getNotificationPeriodInFrames()" into oc-dev
b4d43af4b3edd1b2c913d735221358077d39cdfe 13-Apr-2017 Phil Burk <philburk@google.com> Merge "libaaudio: fix error passing for errorCallback" into oc-dev
b588402d48c9634fa72e7e13ca6d6f2a0766cb98 28-Mar-2017 Phil Burk <philburk@google.com> AudioTrack and AudioRecord: getNotificationPeriodInFrames()

This is needed for AAudioStream_getFramesPerBurst(),
which is needed for callbacks to work correctly.

Bug: 34716038
Bug: 36489240
Test: CTS test_aaudio.cpp
Change-Id: I0e3f3f18a22bf6da8c288f0d2caec0bff0153f2f
Signed-off-by: Phil Burk <philburk@google.com>
egacy/AudioStreamRecord.cpp
egacy/AudioStreamTrack.cpp
7f66c9c20718e6e888f96cb7a83cf7e3ad105793 13-Apr-2017 Phil Burk <philburk@google.com> Merge "libaaudio: implement missing AAudioStream_getFramesPerDataCallback()" into oc-dev
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)
ndroid.mk
inding/AAudioBinderClient.cpp
inding/AAudioBinderClient.h
inding/AAudioServiceDefinitions.h
inding/AAudioServiceInterface.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.cpp
inding/AAudioStreamConfiguration.h
inding/AAudioStreamRequest.cpp
inding/AAudioStreamRequest.h
inding/AudioEndpointParcelable.cpp
inding/AudioEndpointParcelable.h
inding/IAAudioService.cpp
inding/IAAudioService.h
inding/RingBufferParcelable.cpp
inding/RingBufferParcelable.h
inding/SharedMemoryParcelable.cpp
inding/SharedMemoryParcelable.h
inding/SharedRegionParcelable.cpp
inding/SharedRegionParcelable.h
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ifo/FifoBuffer.cpp
ifo/FifoBuffer.h
ifo/FifoController.h
ifo/FifoControllerBase.cpp
ifo/FifoControllerBase.h
ifo/FifoControllerIndirect.h
egacy/AudioStreamTrack.cpp
f2d8342c2e975f85766f3d967f8f5713b2d87892 11-Apr-2017 Phil Burk <philburk@google.com> libaaudio: implement missing AAudioStream_getFramesPerDataCallback()

Bug: 36489240
Test: test_aaudio_callback.cpp
Change-Id: I09af88ea44b5100160da48cdc3a7b888fb898914
Signed-off-by: Phil Burk <philburk@google.com>
ore/AAudioAudio.cpp
677d7916c0fa6f0955aae8f3ef921383e285beb2 07-Apr-2017 Phil Burk <philburk@google.com> libaaudio: fix error passing for errorCallback

Bug: 36489240
Test: CTS test_aaudio.cpp
Change-Id: I67ece88c5a17392d102b20c3899e7fec15e3d6b4
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 65658fa931455a52847bec80e76c9799c3790604)
lient/AudioStreamInternal.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)
ndroid.mk
lient/AudioEndpoint.cpp
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/IsochronousClockModel.cpp
lient/IsochronousClockModel.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.h
egacy/AudioStreamLegacy.cpp
egacy/AudioStreamLegacy.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
tility/FixedBlockAdapter.cpp
tility/FixedBlockAdapter.h
tility/FixedBlockReader.cpp
tility/FixedBlockReader.h
tility/FixedBlockWriter.cpp
tility/FixedBlockWriter.h
35e80f34a9649752fceafa53e2094cd8eda50a0a 28-Mar-2017 Phil Burk <philburk@google.com> libaaudio: implement getTimestamp for legacy path

Fix: 36659408
Test: CTS test_aaudio.cpp
Signed-off-by: Phil Burk <philburk@google.com>

Change-Id: Ic73e69a3747b2daa1df5757650f897a58511e571
ore/AudioStream.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
e2155ef0ec6742db7a3128c4ef4fb96e02828d1b 24-Feb-2017 Phil Burk <philburk@google.com> libaaudio: API changes requested by council

Change AAudioStream to not be a pointer. Now it is just a struct.
Change AAudioStreamBuilder to not be a pointer. Now it is just a struct.
Change aaudio_audio_thread_proc_t to be a pointer to a proc.
Fix prototype of AAudioStream_getDeviceId().

Bug: 30210002
Test: CTS test_aaudio.cpp
Change-Id: Ia5a277a53ac64e93d75de4f196aa167998522c03
Signed-off-by: Phil Burk <philburk@google.com>
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.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>
inding/AAudioServiceDefinitions.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.h
inding/IAAudioService.cpp
inding/IAAudioService.h
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/IsochronousClockModel.cpp
lient/IsochronousClockModel.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
tility/AudioClock.h
tility/HandleTracker.h
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>
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.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>
ndroid.mk
inding/AAudioServiceDefinitions.h
inding/AAudioServiceMessage.h
inding/AAudioStreamConfiguration.cpp
inding/AAudioStreamConfiguration.h
inding/AAudioStreamRequest.cpp
inding/AAudioStreamRequest.h
inding/AudioEndpointParcelable.cpp
inding/AudioEndpointParcelable.h
inding/IAAudioService.cpp
inding/IAAudioService.h
inding/RingBufferParcelable.cpp
inding/RingBufferParcelable.h
inding/SharedMemoryParcelable.cpp
inding/SharedMemoryParcelable.h
inding/SharedRegionParcelable.cpp
inding/SharedRegionParcelable.h
lient/AudioEndpoint.cpp
lient/AudioEndpoint.h
lient/AudioStreamInternal.cpp
lient/AudioStreamInternal.h
lient/IsochronousClockModel.cpp
lient/IsochronousClockModel.h
ore/AAudioAudio.cpp
ore/AudioStream.cpp
ore/AudioStream.h
ore/AudioStreamBuilder.cpp
ore/AudioStreamBuilder.h
ore/README.md
ore/VersionExperiment.txt
ifo/FifoBuffer.cpp
ifo/FifoBuffer.h
ifo/FifoController.h
ifo/FifoControllerBase.cpp
ifo/FifoControllerBase.h
ifo/FifoControllerIndirect.h
ifo/README.md
egacy/AAudioLegacy.h
egacy/AudioStreamRecord.cpp
egacy/AudioStreamRecord.h
egacy/AudioStreamTrack.cpp
egacy/AudioStreamTrack.h
egacy/README.md
tility/AAudioUtilities.cpp
tility/AAudioUtilities.h
tility/AudioClock.h
tility/HandleTracker.cpp
tility/HandleTracker.h
tility/MonotonicCounter.h
tility/README.md