summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
Commit message (Collapse)AuthorAgeFilesLines
* Merge "TimestretchBufferProvider integration with Sonic Library"Ricardo Garcia2015-04-144-14/+36
|\
| * TimestretchBufferProvider integration with Sonic LibraryRicardo Garcia2015-04-134-14/+36
| | | | | | | | | | | | | | | | Using Sonic as backbone for time stretching algorithm. Adding libsonic to needed makefiles. bug: 19196501 Change-Id: I1ea9221d2f56e4e79fba8746ce0ad350b5079e82
* | Merge "audio polciy: remove FM audio capture permission."Eric Laurent2015-04-132-8/+0
|\ \ | |/ |/|
| * audio polciy: remove FM audio capture permission.Eric Laurent2015-04-132-8/+0
| | | | | | | | Change-Id: I2607d89b0bd87cdd2f4084dfdb55135509a824d5
* | Merge "AudioFlinger: more DTS passthrough support"Phil Burk2015-04-103-19/+29
|\ \
| * | AudioFlinger: more DTS passthrough supportPhil Burk2015-04-093-19/+29
| |/ | | | | | | | | | | | | | | Pass format for AC3 or DTS to SPDIF encoder. Bug: 18292317 Change-Id: I6d80eb548cb431bac3390ebb3235146171344291 Signed-off-by: Phil Burk <philburk@google.com>
* | Add playback rate to AudioTrackAndy Hung2015-04-092-18/+36
| | | | | | | | | | Bug: 19196501 Change-Id: I6411e1d3ce652b711a71a6d9df020cb5f60d4714
* | Add playback rate to AudioMixerAndy Hung2015-04-094-1/+270
| | | | | | | | | | Bug: 19196501 Change-Id: I42d1f90e6297cf3f1304860d1691a5dfedd4c37d
* | Factor out buffer provider code from AudioMixerAndy Hung2015-04-086-434/+523
|/ | | | | | | In preparation for playback rate support and timestretching. Bug: 19196501 Change-Id: I435accb852d32110dd0b3a9917488522c567ba80
* Merge "Enable 8 bit and float pcm record formats for AudioFlinger"Andy Hung2015-04-092-14/+55
|\
| * Enable 8 bit and float pcm record formats for AudioFlingerAndy Hung2015-04-082-14/+55
| | | | | | | | | | | | | | Update sampling rate handling as well. Bug: 19570772 Change-Id: I872248e64c0578b2e48869a68fee0d51bd0640c3
* | Merge "Improve ResamplerBufferProvider"Andy Hung2015-04-084-40/+88
|\ \ | |/
| * Improve ResamplerBufferProviderAndy Hung2015-04-084-40/+88
| | | | | | | | Change-Id: I3cc3af221ad5797ff219d75227350733afa180db
* | Merge "Add RecordBufferConverter for RecordThread data processing"Andy Hung2015-04-084-136/+305
|\ \ | |/
| * Add RecordBufferConverter for RecordThread data processingAndy Hung2015-04-084-136/+305
| | | | | | | | Change-Id: Ia3aab8590cd41e8a7cba0a7345d70d2866d92045
* | Merge "Return number of frames output from resample method"Andy Hung2015-04-089-41/+59
|\ \ | |/
| * Return number of frames output from resample methodAndy Hung2015-04-089-41/+59
| | | | | | | | Change-Id: Ic297e2ed59839f1788c83e099ef1a9e4af29591f
* | audio flinger: improve device to device audio patchesEric Laurent2015-04-083-22/+20
|/ | | | | | | Allow creation of audio patches between input and output devices managed by the same audio HW module. Change-Id: I4b83268a4d5c41f3d5905d7581202cf5193efd32
* audio flinger: fix standby on output with HW A/V syncEric Laurent2015-04-012-2/+13
| | | | | | | | | | Fix a bug in audio HAL pause logic on output threads with HW A/V sync preventing the HAL to enter standby when the audio track is stopped and detroyed. Bug: 19980184. Change-Id: Ia497dad23159038b447fcbc18a67bb61b70b79cc
* Merge "AudioFlinger: call SPDIF wrapper from AudioFlinger"Phil Burk2015-03-2410-86/+688
|\
| * AudioFlinger: call SPDIF wrapper from AudioFlingerPhil Burk2015-03-2410-86/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | Create an interface layer between the AudioFlinger and the HAL that manages the wrapping and format conversion. Removed unnecessary includes. Handle rate conversion in getRenderPosition(). Try to open HAL with encoded format before wrapping with SPDIF. Bug: 17566660 Change-Id: I00ad888ca15ff0f85b85efb8167c7f5ea761a244 Signed-off-by: Phil Burk <philburk@google.com>
* | Merge "AudioRecord TRANSFER_OBTAIN can be used with FAST flag"Glenn Kasten2015-03-241-2/+3
|\ \ | |/ |/|
| * AudioRecord TRANSFER_OBTAIN can be used with FAST flagGlenn Kasten2015-03-231-2/+3
| | | | | | | | Change-Id: I001ba1a88150dddf79d99baf5927f31799745eef
* | Merge "AudioFlinger: prevent retrograde timestamps for direct mode"Phil Burk2015-03-242-31/+51
|\ \ | |/ |/|
| * AudioFlinger: prevent retrograde timestamps for direct modePhil Burk2015-03-232-31/+51
| | | | | | | | | | | | | | | | | | Prevent retrograde motion in the HAL or drivers from making it up through the AudioFlinger to the app. Bug: 19604395 Change-Id: I11d6c0f7cab69e75fd4b4a2a90f64960b4bb6d5a Signed-off-by: Phil Burk <philburk@google.com>
* | Fix typosGlenn Kasten2015-03-231-1/+1
| | | | | | | | | | | | | | | | Fix typos in comments Add formal parameter name to declaration where it was missing Fix out of order comments Change-Id: I1de81ae82af5ca507864e4c7b959111bac898b98
* | Merge "Enable full floating point path in AudioMixer"Andy Hung2015-03-201-3/+3
|\ \
| * | Enable full floating point path in AudioMixerAndy Hung2014-11-071-3/+3
| | | | | | | | | | | | Change-Id: I7becce859d6e8db413e6a7c3193ae0f2af273599
* | | Merge "Initial implementation of fast capture dump"Glenn Kasten2015-03-194-1/+30
|\ \ \ | |_|/ |/| |
| * | Initial implementation of fast capture dumpGlenn Kasten2015-03-064-1/+30
| | | | | | | | | | | | Change-Id: I898d903e539f760ef7caa80f41ca21c223f67264
* | | Merge "audioflinger: refresh fast track underrun state upon start"Andy Hung2015-03-171-2/+6
|\ \ \
| * | | audioflinger: refresh fast track underrun state upon startHaynes Mathew George2015-03-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | False underrun is detected when starting recycled fast tracks, which leads to continuous fatal assertion failures and even AP reboot. Track's last mObservedUnderruns isn't updated one at previous stop() call. Hence, when we start the same track again, we should synchronize it to the latest state instead of relying on stale one. authored-by: Weiyin Jiang<wjiang@codeaurora.org> CRs-Fixed: 803389 Bug: 19635137 Signed-off-by: Andy Hung <hunga@google.com> Change-Id: Ia003a49c6896dba965798c062c98b8c367ef8369
* | | | Update commentsGlenn Kasten2015-03-132-1/+2
| | | | | | | | | | | | | | | | Change-Id: I37d3c4ce22b74fe8581a886fe5a7f9fef8266dad
* | | | Merge "Allow TRANSFER_OBTAIN to be used for fast tracks"Glenn Kasten2015-03-091-2/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | Allow TRANSFER_OBTAIN to be used for fast tracksGlenn Kasten2015-03-091-2/+3
| | | | | | | | | | | | | | | | Change-Id: I8fa20c26f076567b38210af4a680fe1cb2eacee4
* | | | Dump generic information first for each threadGlenn Kasten2015-03-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | also mBufferSize was already being displayed as part of dumpBase Change-Id: I17f3062fcc076c594b5fd6b8fca286b27067e07c
* | | | Display more fields in thread dumpBaseGlenn Kasten2015-03-061-0/+4
|/ / / | | | | | | | | | Change-Id: Ice15e999dda2f6cf9d23685ade4a87f74180322d
* | | Rename mName to mThreadName and kNameLength to kThreadNameLengthGlenn Kasten2015-03-062-14/+15
| | | | | | | | | | | | Change-Id: I0adfcdcab7923a07a840ec0e04528cb8bfc41f10
* | | WhitespaceGlenn Kasten2015-03-062-17/+17
| | | | | | | | | | | | | | | | | | switch indent Change-Id: I652c798dd37a80634d247c4d881fb1cce92c4bd6
* | | Rename tee sink file name and add prefix to macrosGlenn Kasten2015-03-061-12/+12
| | | | | | | | | | | | Change-Id: If316b9e32963d9baef8f4382fcc73dc6c4ff684d
* | | Rename formal parameter to match type nameGlenn Kasten2015-03-061-8/+8
| | | | | | | | | | | | Change-Id: I0761005b751f5c4a4b28729b1820961ff3077afd
* | | Add devicesToString, inputFlagsToString, and sourceToStringGlenn Kasten2015-03-062-1/+106
| | | | | | | | | | | | Change-Id: I0c09d76c204ffc5579f62d2ed1faef07922a5962
* | | Merge "Fix typo in string table"Glenn Kasten2015-03-061-1/+1
|\ \ \ | |/ / |/| |
| * | Fix typo in string tableGlenn Kasten2015-03-051-1/+1
| | | | | | | | | | | | Change-Id: Iaf3d3c77129c62cf3dcad21fc754f390eb43b28e
* | | Merge "Improve resampler speed for floating point and arm64"Andy Hung2015-03-046-6/+626
|\ \ \ | |/ / |/| |
| * | Improve resampler speed for floating point and arm64Andy Hung2015-03-036-6/+626
| | | | | | | | | | | | | | | | | | | | | | | | Add floating point intrinsics for arm32 and arm64 devices. Add integer intrinsics for arm64 devices. Bug: 17366024 Change-Id: Id4240f549033deb262815c7145d69820e5fd7b92
* | | Remove PCM16 assumption from FastCaptureGlenn Kasten2015-03-032-9/+6
| | | | | | | | | | | | | | | Bug: 19586911 Change-Id: I74d4ddc09a9eb9c651f874482639d39a56f8ca1f
* | | Pull up comment to superclassGlenn Kasten2015-03-032-7/+6
| | | | | | | | | | | | Change-Id: I2e3632ee80744f2f8d932ac1a8597ff805883851
* | | Remove redundant this->Glenn Kasten2015-03-032-12/+12
| | | | | | | | | | | | Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
* | | Add "m" prefix to fieldsGlenn Kasten2015-03-038-396/+403
| | | | | | | | | | | | Change-Id: Ifdb8fa886d1ff53cd7c8aff3c2f8286e6e18dec2