summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
* | | Pull out commandToString() from FastMixerDumpState.cppGlenn Kasten2015-03-037-29/+50
| | | | | | | | | | | | | | | | | | to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp Change-Id: I872efb211e8a0335c42906367859d3674340e374
* | | Pull up increaseSamplingN and kSamplingNforLowRamDeviceGlenn Kasten2015-03-035-43/+33
| | | | | | | | | | | | | | | | | | | | | from FastMixerDumpState to FastThreadDumpState, and remove unused parameter from FastMixerDumpState constructor. Change-Id: Ib8937b106622a8da28a6ef6043de4528ae82cb05
* | | Remove redundant semicolon from namespace closingGlenn Kasten2015-03-0319-21/+19
| | | | | | | | | | | | Change-Id: I163f9d3d216c283ae1160ce4802e5247cf44fba7
* | | Merge "Fix compile error if FAST_THREAD_STATISTICS not defined"Glenn Kasten2015-03-031-0/+2
|\ \ \
| * | | Fix compile error if FAST_THREAD_STATISTICS not definedGlenn Kasten2015-03-021-0/+2
| | | | | | | | | | | | | | | | Change-Id: I3a4ac558e61ad956a7a6e325534e722066e49b2f
* | | | Merge "Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICS"Glenn Kasten2015-03-038-19/+18
|\ \ \ \ | |/ / /
| * | | Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICSGlenn Kasten2015-03-028-19/+18
| |/ / | | | | | | | | | Change-Id: Idb5f5bf0c20bffff8536cf4a46f696e12e99e81b
* | | Re-generate sinc tables with comment and indent by 4Glenn Kasten2015-03-022-258/+262
|/ / | | | | | | Change-Id: I349273969dfd7e9d7f896f8bd6d552bd6b56ba54
* | Merge "Line length 100"Glenn Kasten2015-03-021-1/+2
|\ \
| * | Line length 100Glenn Kasten2015-02-271-1/+2
| | | | | | | | | | | | Change-Id: Ic0ae92c300df221387bdd9669e4b7b995d83d28a
* | | Merge "Extract resampler coefficient tables to separate files"Glenn Kasten2015-03-023-258/+260
|\ \ \ | |/ /
| * | Extract resampler coefficient tables to separate filesGlenn Kasten2015-02-273-258/+260
| | | | | | | | | | | | Change-Id: I2e186bd3172cecc08c436e6bf7546b913249e6c8
* | | Merge "Fix comments in resampler assembly"Andy Hung2015-02-281-40/+40
|\ \ \
| * | | Fix comments in resampler assemblyAndy Hung2015-02-091-40/+40
| | | | | | | | | | | | | | | | Change-Id: Iedbd14a2c6c73dd9631813bd2414bf11cee78c32
* | | | Merge "Add channel index mask to AudioMixer"Andy Hung2015-02-281-6/+44
|\ \ \ \
| * | | | Add channel index mask to AudioMixerAndy Hung2015-02-271-6/+44
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifbcb61cc24111b7efab5e8d119d44dab26ba1778
* | | | | Merge "Change AudioTrack resampling buffers from 3 to 2"Andy Hung2015-02-281-19/+12
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Change AudioTrack resampling buffers from 3 to 2Andy Hung2015-02-061-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move computation of minimum AudioTrack buffer size to server for normal streaming PCM tracks. Use server-side computation to exactly determine requirements for the resampler to avoid triple buffering. This reduces latency for normal audio tracks that require resampling, and makes things consistent with the minimum buffer size. Change-Id: I2f2ca0e599ee20e16559bc5c5dab61ed100da16c
* | | | | Merge "Warmup cycles must be in range and consecutive"Glenn Kasten2015-02-274-10/+28
|\ \ \ \ \
| * | | | | Warmup cycles must be in range and consecutiveGlenn Kasten2015-02-194-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie8a40ec3547bdd62a1e2e05b11fb107c25841784
* | | | | | Merge "Do not pre-fill OutputTrack buffer for duplicating thread"Andy Hung2015-02-261-22/+1
|\ \ \ \ \ \
| * | | | | | Do not pre-fill OutputTrack buffer for duplicating threadAndy Hung2015-01-221-22/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary to start the downstream MixerThread early, rather allow stop() to flush the remaining frames. Change-Id: Ibcf8e7f5eda09d0f915d50697ff0c24c32fd11c4
* | | | | | Merge "Remove unused stride-by-8 resampling code"Andy Hung2015-02-261-511/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | / / | | |_|/ / | |/| | |
| * | | | Remove unused stride-by-8 resampling codeAndy Hung2015-02-091-511/+0
| |/ / / | | | | | | | | | | | | Change-Id: Id8b0343efd4c6fb9668524fb5fe231b05c7cf31f
* | | | Merge "Fix for getMicMute in AudioFlinger"Ricardo Garcia2015-02-201-4/+10
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix for getMicMute in AudioFlingerRicardo Garcia2015-02-191-4/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous logic will only check for mic state of Primary Hardware Device. Current logic checks state of all devices with valid microphone input. This is needed for audio_output feature support. bug: 19439530 Change-Id: Ibbb92412ac70cf2915bbe8660c04fbaf0ab74171
* | | Include what you useGlenn Kasten2015-02-194-4/+4
| | | | | | | | | | | | Change-Id: I1967861f383bb5ed6743fb69e3bd439907ed7033
* | | Pull out FastCaptureDumpState and FastMixerDumpStateGlenn Kasten2015-02-198-241/+327
| | | | | | | | | | | | Change-Id: I8e44dbfe02338622eb69193b234743b50f0dd79f
* | | Pull out FastThreadDumpStateGlenn Kasten2015-02-178-55/+110
|/ / | | | | | | Change-Id: Ic99890bbba4f856b65535f3df0f928de9e3e9748
* | Merge "Update duplicating thread to use float audio"Andy Hung2015-01-171-0/+22
|\ \
| * | Update duplicating thread to use float audioAndy Hung2015-01-151-0/+22
| | | | | | | | | | | | | | | | | | Previously device format was used, typically pcm 16 bit. Change-Id: I70a8b594820e948a2caa299194807ec17348b0e9
* | | Merge "Allow duplicating thread to use native mixing audio format"Andy Hung2015-01-163-56/+49
|\ \ \ | |/ /
| * | Allow duplicating thread to use native mixing audio formatAndy Hung2015-01-153-56/+49
| | | | | | | | | | | | | | | | | | | | | Update OutputTrack to take variable formats. Previously conversion to AUDIO_FORMAT_PCM_16_BIT was required. Change-Id: I4a96a60ddd8d8dfe651405a0bcd4f98c89bc1ade
* | | Merge "Allow AUDIO_FORMAT_PCM_8_BIT AudioTrack buffers"Andy Hung2015-01-151-4/+10
|\ \ \ | |/ /
| * | Allow AUDIO_FORMAT_PCM_8_BIT AudioTrack buffersAndy Hung2015-01-141-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | Previously conversion to AUDIO_FORMAT_PCM_16_BIT was required. Client shared memory for static tracks and AudioFlinger track creation and buffer delivery now use native 8 bit PCM data. Change-Id: I485c07a4971fde9a25442bd43fed95019d39abcc
* | | am 27a78b56: am 78c02ddb: am cfa5bf04: Merge "make libserviceutility a ↵Chong Zhang2015-01-071-4/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shared lib" into lmp-mr1-dev * commit '27a78b56e1cf9814971192883cb7d15c186465f7': make libserviceutility a shared lib audio policy: fix remote mic capture audio policy: suppport for dynamic source Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions Fix race condition in signaling completion for decode. AnotherPacketSource: need reset some members before returning from queueDiscontinuity(). Fix looping sound playback AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
| * \ \ am 78c02ddb: am cfa5bf04: Merge "make libserviceutility a shared lib" into ↵Chong Zhang2015-01-071-4/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '78c02ddb6bf0d676160244a62c11dceb68301b73': make libserviceutility a shared lib audio policy: fix remote mic capture audio policy: suppport for dynamic source Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions Fix race condition in signaling completion for decode. AnotherPacketSource: need reset some members before returning from queueDiscontinuity(). Fix looping sound playback AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
| | * \ \ Merge "make libserviceutility a shared lib" into lmp-mr1-devChong Zhang2015-01-071-4/+10
| | |\ \ \
| | | * | | make libserviceutility a shared libChong Zhang2015-01-071-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that we have only one getpid_cached in mediaserver process bug: 18919657 Change-Id: Iff3cd932c9110e874b3885f79705f49bf3e3f1fc
* | | | | | am 69158e3e: am 6ab33981: am 610255e8: Merge "audioflinger: pause HW A/V ↵Eric Laurent2015-01-072-5/+13
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | | | | | | | | | | | | sync output when AudioTrack underruns" into lmp-mr1-dev * commit '69158e3e7b565a5ca131a2efaa9b76615ca80cbb': audioflinger: pause HW A/V sync output when AudioTrack underruns
| * | | | am 6ab33981: am 610255e8: Merge "audioflinger: pause HW A/V sync output when ↵Eric Laurent2015-01-072-5/+13
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | AudioTrack underruns" into lmp-mr1-dev * commit '6ab33981d45cd69e683a143fec6530e66bd3e371': audioflinger: pause HW A/V sync output when AudioTrack underruns
| | * | | Merge "audioflinger: pause HW A/V sync output when AudioTrack underruns" ↵Eric Laurent2015-01-072-5/+13
| | |\ \ \ | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| | | * | | audioflinger: pause HW A/V sync output when AudioTrack underrunsEric Laurent2014-12-192-5/+13
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not standby, starve or feed 0s to the audio HAL on direct output using HW A/V sync mode. Bug: 17883772. Change-Id: I11e6c97ec24360d75f9b602814d40a54b60cb7a7
| | * | | DO NOT MERGE - fix memory leak in PatchPanelsoon1.choi2015-01-051-0/+2
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the audio patch is created, audio patch with same handle is removed from vector for patches. At this time, Patch allocated in the heap is not freed. This causes memory leaks in the mediaserver. Bug: 18904322. Change-Id: Id0d28c36a7e7fbf473753bf4ead7518f28c1b998