History log of /frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.cpp
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
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.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>
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.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>
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.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
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.cpp
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>
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.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>
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.cpp
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/src/legacy/AudioStreamRecord.cpp
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>
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.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/legacy/AudioStreamRecord.cpp
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
/frameworks/av/media/libaaudio/src/legacy/AudioStreamRecord.cpp
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/src/legacy/AudioStreamRecord.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/legacy/AudioStreamRecord.cpp