summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | 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