summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove MONITOR_RECORDINGGlenn Kasten2015-05-291-28/+0
| | | | | | This logging can now be done by AudioFlinger in debug builds. Change-Id: I178470cfa7a0eb6312087d7f59623963dc610735
* Remove redundant parenthesesGlenn Kasten2015-05-292-7/+7
| | | | Change-Id: Ia7de3564a8065f33aa74655b01357f4138b32aa8
* Remove dead codeGlenn Kasten2015-05-291-8/+0
| | | | Change-Id: I7515a5d3deed85e2835742a362fbc1a2df8f880f
* Add static for methods only used locallyGlenn Kasten2015-05-292-0/+6
| | | | Change-Id: I5e7d5c93869b31f75efc9fd3f040df82b67d9efd
* Add constGlenn Kasten2015-05-291-4/+4
| | | | Change-Id: Ide3011e14c8a4c5c0d29db77e7c99789c37c30a7
* Fix typo in channel mask commentGlenn Kasten2015-05-281-1/+1
| | | | Change-Id: I648051c7489ec631d02a675def91635f2ad86a53
* WhitespaceGlenn Kasten2015-05-283-14/+13
| | | | Change-Id: I666963a80530aceec9f47e625018844daf29c017
* Line length 100Glenn Kasten2015-05-281-1/+2
| | | | Change-Id: I91c6231d22361361cda80d96c9d3ded5c93b6103
* Explicitly compare raw pointers to NULLGlenn Kasten2015-05-281-3/+3
| | | | Change-Id: I6e867fea4067e0e0497d91c0750bbdcbe44d7f7a
* Remove redundant semicolonGlenn Kasten2015-05-281-1/+1
| | | | Change-Id: Ida3b82c09164e3bbf99d36b3cbd8607a9eefb45c
* Clear mAudioRecord on set() failureGlenn Kasten2015-05-182-3/+8
| | | | | | | | All uses to mAudioRecord were already protected by checks for mAudioRecord != 0 Bug: 20818955 Bug: 20890069 Change-Id: I243205b99b198eb1b5a1a027b27cbb7d5aaaa8db
* Respect the record audio app op - wilhelmSvet Ganov2015-04-282-2/+7
| | | | Change-Id: I9fca6f47e91f8b755fed8317878e9e98d1730476
* Add a static cast to resolve overload ambiguity.Chris Watkins2015-04-141-1/+1
| | | | | | | | The IMediaPlayer interface was updated with a new overload for setDataSource which caused a compiler error in StreamPlayer. Add a static cast to resolve the ambiguity. Change-Id: I26a3dc4bee1680cb260e93a151483baf398a4399
* stagefright: make AMessage use handler vs handler-idLajos Molnar2015-03-045-25/+25
| | | | | Bug: 19607784 Change-Id: I55accc49eec725ede0da3d1bfab448320fece926
* Line length 100Glenn Kasten2014-12-302-4/+8
| | | | Change-Id: Ic27cdff0edc815284ce4bc0cecd84b0e00d1f3a4
* am b73cd339: Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."Ying Wang2014-12-161-3/+0
|\ | | | | | | | | * commit 'b73cd3393bada4f4a99d9099c08bbb6b01388083': Cleanup Obsolete LOCAL_PRELINK_MODULE.
| * Cleanup Obsolete LOCAL_PRELINK_MODULE.Ying Wang2014-12-161-3/+0
| | | | | | | | | | Bug: 18675947 Change-Id: Id84541b59ab172a092059dba564f64b73fa0c319
* | am 7fe8bdd1: Merge "Add std=gnu++11 flag to compile .c files as C++."Chih-Hung Hsieh2014-12-051-3/+3
|\| | | | | | | | | * commit '7fe8bdd1af9dec49682f3249856963860b073472': Add std=gnu++11 flag to compile .c files as C++.
| * Add std=gnu++11 flag to compile .c files as C++.Chih-Hung Hsieh2014-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | Currently the -x c++ flag is used to compile .c files as C++. For clang compilers, default extra C flags for Android .c files is -std=gnu99. Clang compiler rejects -std=gnu99 in C++ mode. Until we rename all .c file in this directory to .cpp, we can use this patch to force compilation in -x c++ and -std=gnu++11. Change-Id: Ibbb1c1394ac1cb45c6508a62986edf669e722cbd
* | am 0f6da1a2: Reduce audio output latencyRaph Levien2014-11-183-25/+26
|\ \ | |/ |/| | | | | * commit '0f6da1a299c8dd924d19714ee69d343915c32d2c': Reduce audio output latency
| * Reduce audio output latencyRaph Levien2014-11-143-25/+26
| | | | | | | | | | | | | | | | This patch reduces latency in the OpenSL ES player path by calling the callback immediately before data is consumed, rather than after. Bug: 12246268 Change-Id: I8273b4a03f16011beec21dd52545f8ad1a25fd95
* | Merge "Check that the ABQ mime type matches the expectations"Glenn Kasten2014-11-101-0/+8
|\ \
| * | Check that the ABQ mime type matches the expectationsMartin Storsjo2014-05-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code in audioPlayer_getAndroidObjectTypeForSourceSink assumes that an android buffer queue source combined with an output mix sink is an mpegts source, while it it assumes that it is an adts source if it is combined with a simple buffer queue sink. This assumption never was verified before, making the set up actually seem to succeed even though the data is interpreted as the wrong format. Change-Id: I7e031ec8139fa2d770737935eb9acd3506d3fa3f
* | | am 5a55e234: Merge "Move wilhelm over to pthread_gettid_np."Elliott Hughes2014-09-122-7/+3
|\ \ \ | |_|/ |/| | | | | | | | * commit '5a55e234fc79b0da96a2e158d90cd5ba2f12d9ef': Move wilhelm over to pthread_gettid_np.
| * | Move wilhelm over to pthread_gettid_np.Elliott Hughes2014-09-122-7/+3
| | | | | | | | | | | | | | | Bug: 17476168 Change-Id: Ib8f00d0934deaefbb5bc07f4f0ab6dc7a4e30988
| * | Audio recorder missing a callback protectorGlenn Kasten2014-08-275-0/+33
| |/ | | | | | | | | Bug: 14291968 Change-Id: I620d5e82f58e57e87097984a649b5c3a25c42963
* | Audio recorder missing a callback protectorstaging/cm-12.0-cafGlenn Kasten2014-08-275-0/+33
| | | | | | | | | | Bug: 14291968 Change-Id: I620d5e82f58e57e87097984a649b5c3a25c42963
* | rename AudioSystem::newAudioSessionId()Eric Laurent2014-07-272-2/+2
| | | | | | | | | | | | | | | | | | | | Rename AudioSystem::newAudioSessionId() to AudioSystem::newAudioUniqueId() as it can be used also for I/O handles. Bug: 12378680. Change-Id: I5f0eaaadc21ff2aacf81670490ad42c54537d86b
* | audio: fixed channel count determination from channel maskEric Laurent2014-07-011-1/+1
| | | | | | | | | | | | | | Do not use popcount() to derive channel count from channel mask. Bug: 15000850. Change-Id: I7af794e4515cd0f85e5b9744bd4e53e33aa0d5eb
* | Add float playback capability to OpenSL ESAndy Hung2014-05-295-30/+123
| | | | | | | | | | | | | | | | Add SLAndroidDataFormat_PCM_EX to match OpenSLES 1.1 header file, together with related SL_ANDROID_PCM_REPRESENTATION_* constants. Use slesTest_playbq as the test application. Change-Id: I04bcd170f5c517051a799bacf8f52da5f1353ad6
* | Fix regression in AudioRecorderGlenn Kasten2014-05-273-8/+8
| | | | | | | | | | | | Interfaces were out of order Change-Id: I027dc9d8ed93514d93a5b05063a8711b9841aaf4
* | Add 24 bit and 32 bit playback capability to OpenSL ESAndy Hung2014-05-233-21/+23
| | | | | | | | | | | | slesTest_playbq is the test application. Change-Id: Iaa453471d2e9ff4e6b11ac5c68690993179fea2b
* | Add mono to android_audioPlayer_validateChannelMaskAndy Hung2014-05-231-2/+2
| | | | | | | | Change-Id: I898401a1a0b6081dc0d4e9d41be09cb38c675951
* | Fix build on x86_64 targetsJi-Hwan Lee2014-05-171-1/+1
| | | | | | | | Change-Id: Ib60d8552468901af476db61eb7bf666e1ffd81fd
* | Merge "Initial Implementation of new NDK effect interfaces"Paul McLean2014-05-1727-123/+787
|\ \
| * | Initial Implementation of new NDK effect interfacesPaul McLean2014-05-1627-123/+787
| | | | | | | | | | | | | | | | | | | | | Support for Acousic Echo Cancellation, Automatic Gain Control and NoiseSuppression effects on AudioRecorder Change-Id: I85dcb988f59dacaaed540737018b8f629efeaad3
* | | Initial Implementation of new NDK audio formatsPaul McLean2014-05-163-11/+110
|/ / | | | | | | | | | | | | Support for 24-bit audio formats - Support for Quad, 5.1 and 7.1 multi-channel output Change-Id: I4e4f5d2915a43970ae01f552ba506591902aa070
* | am e773894b: Merge "Revert "Only build libwilhelm, libOpenSLES, libOpenMAXAL ↵Glenn Kasten2014-03-201-3/+0
|\| | | | | | | | | | | | | in 32-bit"" * commit 'e773894b714268396562b942d1556a3575c5f97f': Revert "Only build libwilhelm, libOpenSLES, libOpenMAXAL in 32-bit"
| * Revert "Only build libwilhelm, libOpenSLES, libOpenMAXAL in 32-bit"Glenn Kasten2014-03-191-3/+0
| | | | | | | | This reverts commit c6d1318d2d5d215cfe7ee642c02ff3aeb2c3c809.
* | am dde6053e: Merge "Only build libwilhelm, libOpenSLES, libOpenMAXAL in 32-bit"Glenn Kasten2014-03-171-0/+3
|\| | | | | | | | | * commit 'dde6053ebebcf6d836308dc80623099195cd5e0b': Only build libwilhelm, libOpenSLES, libOpenMAXAL in 32-bit
| * Only build libwilhelm, libOpenSLES, libOpenMAXAL in 32-bitGlenn Kasten2014-03-171-0/+3
| | | | | | | | | | | | | | | | This change is temporary: native audio APIs must be available to 64-bit apps, so this will need to be reverted. However currently the dependent libraries needed here are not available in 64-bit. Change-Id: Ic3b30cf85800046e5eed4d71cca0a58f9964b1b3
* | am 5c057d44: Merge "Remove use of pthread_mutex_lock_timeout_np."Narayan Kamath2014-03-071-4/+18
|\| | | | | | | | | * commit '5c057d44e5869b8acb779d48a4b821859040d9c8': Remove use of pthread_mutex_lock_timeout_np.
| * Remove use of pthread_mutex_lock_timeout_np.Narayan Kamath2014-03-061-4/+18
| | | | | | | | | | | | | | | | | | Replace it with the portable pthread_mutex_timedlock. This fixes the 64 bit build, because pthread_mutex_timedlock isn't defined for LP64. Change-Id: Ia1dbb970b8d968aab8b325687a3ebadd0c7ece53
* | am 298eac15: Merge "AArch64: Minor changes related to 64-bit platform"Narayan Kamath2014-02-143-3/+4
|\| | | | | | | | | * commit '298eac1548462c05e9c417abb0e401d805700e82': AArch64: Minor changes related to 64-bit platform
| * AArch64: Minor changes related to 64-bit platformAshok Bhat2014-02-063-3/+4
| | | | | | | | | | | | | | | | | | | | | | Changes include [x] Use %zu for size_t [x] Use PRId64 to print 64-bit integer value [x] Use uintptr_t for integer variable used to store address. Change-Id: I69926cce76b0d645f1abccd584444197a5e40318 Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-01-303-2/+13
|/ | | | | | to media code Change-Id: Ia7681255410340707b3c84665dbcab98d7507dbf
* Merge "Always request fast track for recording"Glenn Kasten2013-08-061-1/+8
|\
| * Always request fast track for recordingGlenn Kasten2013-08-011-1/+8
| | | | | | | | Change-Id: I76fc395e3b1babe41522023a56a37e4310b248e3
* | Fix build warningsGlenn Kasten2013-08-022-5/+5
|/ | | | | | | | narrowing conversion of '-1' from 'int' to 'SLuint32 {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] converting to non-pointer type 'pthread_t {aka long int}' from NULL [-Wconversion-null] warning: 'currentRate' may be used uninitialized in this function [-Wmaybe-uninitialized] Change-Id: I066260cc216ff9f15c787f65e3d3efbda8f8ef35
* Merge "Remove requirement for application side double-buffering"Glenn Kasten2013-07-081-3/+3
|\