History log of /frameworks/av/media/libaaudio/include/aaudio/AAudio.h
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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
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
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
8467c128d7edfc16a93e2606bbae5188f067d2d5 13-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes Ida15546f,I1b099e23 into oc-dev

* changes:
aaudio: make openStream behavior more specific
aaudio: add a test for openStream() with varying parameters
8f62489dfdfc1e0303fb1ffa8c6eeb44b611ac51 11-May-2017 Phil Burk <philburk@google.com> aaudio: make openStream behavior more specific

Change API specification to state that if sampleRate, channelCount
or dataFormat are specified, then the open stream will use those values.

This change does not break the original API, which stated that the actual
values might or might not match the requested values.

The documented API now matches the actual code behavior.

Bug: 38236303
Test: unit test, test_open_params.cpp
Change-Id: Ida15546f0ee2a8cc888158f564492363a700f9ea
Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
3858e63e75e58a8b7a699f5b298b46f4097d5552 14-Apr-2017 Glenn Kasten <gkasten@google.com> Merge "AAudio: Fix Doxygen problems with undefined symbols" into oc-dev
0d804369941be2adddea3b4bdfff7f2d6d9e361c 13-Apr-2017 Glenn Kasten <gkasten@google.com> AAudio: Fix Doxygen problems with undefined symbols

Test: doxygen reports no problems
Bug: 37304345
Change-Id: Ie995b5d777fe56f16c6622844864d42cc3d32d2c
(cherry picked from commit 3cc2d29b260f06fb8c026b1b746226ed704fc4ca)
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
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/include/aaudio/AAudio.h
e057ca91a9b96665d430ac89f1b38a36621f83bd 28-Mar-2017 Phil Burk <philburk@google.com> libaaudio: add callback API

Bug: 36489240
Test: write_sine_callback, input_monitor_callback
Change-Id: I27d79954f7f9de60eb779b47923de87572dc017e
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 2ba6e66e16c859cfdbd49c44be4af2a382ca0f49)
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
a45be8b660292777f8c6e1b3896b0a291efa93f7 05-Apr-2017 Phil Burk <philburk@google.com> AAudio: add group in headers for doxygen

This is needed for proper navigation in the NDK reference docs.

Bug: 36995264
Test: Look at NDK docs after staging. Audio link should work.
Change-Id: Ifb61f95d536310a420d90f32c64557b75901d751
Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h
f26ad101eb9ee8180ee54f3af44f553905c35c0c 12-Jan-2017 Glenn Kasten <gkasten@google.com> AAudio: Add Doxygen configuration file

Added files:
Doxyfile.orig - corresponds to default Doxyfile for Doxygen version 1.8.6
Doxyfile - Doxyfile.orig modified for Oboe

Other related changes:
Corrected Doxygen comment typo in AAudio.h
Added instructions in README on how to use Doxygen

Bug: 35255705
Test: run doxygen in same directory as Doxyfile
Change-Id: I9f431474a17b9e87b8e75347a50f561344204d83
/frameworks/av/media/libaaudio/include/aaudio/AAudio.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>
/frameworks/av/media/libaaudio/include/aaudio/AAudio.h