summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Scan .awb files tooMarco Nelissen2012-11-121-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | b/6122599 Change-Id: Ied3e0392939231447f1fc5685ca1fade1e55ce08
* | | | | Fix regression for AudioTrack::write() 8-bit PCMGlenn Kasten2012-11-121-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | Bug: 7526532 Change-Id: I8ddd1f0e9d035b54401788dcc422591281dcd97a
* | | | Merge "Move buffers pointer out of the control block"Glenn Kasten2012-11-087-15/+19
|\ \ \ \
| * | | | Move buffers pointer out of the control blockGlenn Kasten2012-11-087-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: Ie474557db7cb360f2d9a0f11600a68f5a3d46f07
* | | | | NEON optimized SINC resamplerMathias Agopian2012-11-082-11/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this currently gives us a 60% to 80% boost depending on the quality level selected. Change-Id: I7db385007e811ed7bffe5fd3403b44e300894f5b
* | | | | minor cleanupsMathias Agopian2012-11-081-41/+39
|/ / / / | | | | | | | | | | | | Change-Id: Ia12ee4fb59e90221761bec85e6450db29197591f
* | | | Simplify AudioTrack::restoreTrack_l()Glenn Kasten2012-11-083-93/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove CBLK_RESTORING and CBLK_RESTORED from control block flags, for AudioTrack only. They are still used by AudioRecord. This is part of a series to clean up the control block. Change-Id: Iae4798f5b527c492bdaf789987ff3a1dadd0cb37
* | | | Merge "Add all-channel AudioTrack::setVolume() API"Glenn Kasten2012-11-083-9/+9
|\ \ \ \
| * | | | Add all-channel AudioTrack::setVolume() APIGlenn Kasten2012-11-053-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add combined channel APIs setVolume to AudioTrack, and remove obsolete getVolume. Change-Id: I0c87bfdbff4f4292259fa33e65f67badbafd270b
* | | | | Merge "Fix call to restoreTrack_l() without lock held"Glenn Kasten2012-11-082-0/+13
|\ \ \ \ \
| * | | | | Fix call to restoreTrack_l() without lock heldGlenn Kasten2012-11-072-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also document lock order Change-Id: I2c1f273a0a51fa79ee3dd766de8d23083e270051
* | | | | | Remove CBLK_DIRECTION from control block flagsGlenn Kasten2012-11-075-44/+71
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: I0265fece3247356b585d4d48fbda6f37aea8a851
* | | | | Merge "Remove CBLK_FAST from control block flags"Glenn Kasten2012-11-076-19/+22
|\ \ \ \ \
| * | | | | Remove CBLK_FAST from control block flagsGlenn Kasten2012-11-066-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: Ic881a3560d9547cb63fcc0cefec87aa3da480e0d
* | | | | | Merge "Remove unused fields in AudioTrack::Buffer"Glenn Kasten2012-11-072-15/+11
|\ \ \ \ \ \
| * | | | | | Remove unused fields in AudioTrack::BufferGlenn Kasten2012-11-062-15/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Iab75f6e2348d8b6d1f3cec95aeb3fcd5135dfb50
* | | | | | Merge "Removed unused fields in AudioRecord::Buffer"Glenn Kasten2012-11-072-10/+0
|\ \ \ \ \ \
| * | | | | | Removed unused fields in AudioRecord::BufferGlenn Kasten2012-11-062-10/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I89fc6d8f695b48516d956b0a9a4a43d408f369f9
* | | | | | Merge changes I5d62a6c2,Iebf76958,I8068f0f7Mathias Agopian2012-11-065-191/+693
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: improve resample test change how we store the FIR coefficients improve SINC resampler performance
| * | | | | improve resample testMathias Agopian2012-11-051-61/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - handle stereo input - input file can now be ommited, in this case a linear chirp will be used automatically - better usage information Change-Id: I5d62a6c26a9054a1c1a517a065b4df5a2cdcda22
| * | | | | change how we store the FIR coefficientsMathias Agopian2012-11-054-95/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The coefficient table is now transposed and shows much better its polyphase nature: we now have a FIR per line, each line corresponding to a phase. This doesn't change at all the results produced by the filter, but allows us to make slightly better use of the data cache and improves performance a bit (although not as much as I thought it would). The main benefit is that it is the first step before we can make much larger optimizations (like using NEON). Change-Id: Iebf7695825dcbd41f25861efcaefbaa3365ecb43
| * | | | | improve SINC resampler performanceMathias Agopian2012-11-052-40/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The improvement is about 60% by just tweaking a few things to help the compiler generate better code. It turns out that inlining too much stuff manually was hurting us. Change-Id: I8068f0f75051f95ac600e50ce552572dd1e8c304
* | | | | | am 33cf49b1: (-s ours) am 78b012f5: Reconcile with jb-mr1-factory-release ↵The Android Open Source Project2012-11-060-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit '33cf49b168a88a88167c46b01787a57b49cd875f':
| * | | | | am 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | * commit '78b012f5bc05706d1ce412811ccfaa9385dae0ab':
| | | | | |
| | | \ \ \
| | *-. \ \ \ Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idf4c25115d89397ba668fc290344b2e7c1ea1993
* | | \ \ \ \ \ Merge "Cache mCblk in local variable cblk"Glenn Kasten2012-11-061-62/+79
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Cache mCblk in local variable cblkGlenn Kasten2012-11-061-62/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "iMem" for sp<IMemory> Change-Id: I2f1fbbc517fbd77cfc92f6c3b1f253c26bae93b0
* | | | | | | | am 3b31d805: am 1c6833af: Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-060-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / / | | | | | | | * commit '3b31d805517c0bde8a0ebed219cbd4b8409c71c2': Ignore SIGPIPE during write() to broken pipe
| * | | | | | am 1c6833af: Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-061-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '1c6833afd6cfdbc6c696ed0719ceedc37ec0b534': Ignore SIGPIPE during write() to broken pipe
| | * | | | | Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens occasionally when taking a bugreport. Bug: 6447319 Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
* | | | | | | Merge "AudioRecord comments"Glenn Kasten2012-11-061-30/+45
|\ \ \ \ \ \ \
| * | | | | | | AudioRecord commentsGlenn Kasten2012-11-021-30/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibec910608948d778dc655d900255a80384e9b06f
* | | | | | | | Merge duplicate code in TrackBase::TrackBase()Glenn Kasten2012-11-051-34/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id8a7db4d94888796a9dcbed4cac99941705cd174
* | | | | | | | Merge "Simplify control block flag names"Glenn Kasten2012-11-054-77/+64
|\ \ \ \ \ \ \ \
| * | | | | | | | Simplify control block flag namesGlenn Kasten2012-11-054-77/+64
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use only one symbol per flag Change-Id: Ia3582e2134abd60c896d11337face65383e79c7c
* | | | | | | | Merge "Remove deprecated AudioTrack APIs"Glenn Kasten2012-11-052-34/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Remove deprecated AudioTrack APIsGlenn Kasten2012-11-052-34/+0
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Change-Id: I88be6525f3e33df529c0c3cb701d12a484809477
* | | | | | | Turn off executable bit on ordinary filesGlenn Kasten2012-11-027-0/+0
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I0abea25b58fb1d03975bed9cca40f826fcd4c5e4
* | | | | | Merge "new coefficients for the vhq resampler"Mathias Agopian2012-11-025-4680/+84
|\ \ \ \ \ \
| * | | | | | new coefficients for the vhq resamplerMathias Agopian2012-11-015-4680/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous coefficients were provided by a 3rd party and didn't have a way to re-generate them. we're now using the 'fir' utility. the performance of the filter is virtually identical, except for the down-sampling case which seems slightly better now: It looks like both the previous and new coefficients are generating some sort of clipping for full-scale signals in the down-sampling case (although the new ones seem better), the reason for that is unknown (see bug: 7453062) Also updated the HQ coefficients for the down-samplers, previous ones were a little bit too conservative -- the new ones push the cut-off frequency up by about 1 KHz. Change-Id: I54a827b5c707c7cc41268ed01283758dce1d7647
* | | | | | | Fix spurious wakeup waiting for new IAudioTrackGlenn Kasten2012-11-021-9/+17
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there was a spurious wakeup while waiting for another thread to create a new IAudioTrack, we assumed that the track has been created when it might not have been. Change-Id: I5f3999b4f7a06a00aabd65a746cc7222fff396ab
* | | | | | Merge "Add NBAIO support for more sample rates"Glenn Kasten2012-11-022-47/+91
|\ \ \ \ \ \
| * | | | | | Add NBAIO support for more sample ratesGlenn Kasten2012-11-012-47/+91
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used for audio capture but it is not scalable, and we need a better approach in the long term. Change-Id: I8b12f6b64a3fd8e8a8c425c82574260fe8ffbed6
* | | | | | Merge "AudioTrack comments"Glenn Kasten2012-11-021-11/+16
|\ \ \ \ \ \
| * | | | | | AudioTrack commentsGlenn Kasten2012-11-021-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I08988f635c5bc6f4c35e9c4188f3d6fa557bc4c2
* | | | | | | Merge "Remove unused default parameter for copyBuffer()"James Dong2012-11-022-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Remove unused default parameter for copyBuffer()James Dong2012-11-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8002986ccb926165af393ca80cece60dee011204
* | | | | | | am 8b6ce0a2: (-s ours) Reconcile with jb-mr1-release - do not mergeThe Android Open Source Project2012-11-020-0/+0
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | | * commit '8b6ce0a269ba67995766980f5b83937302143e64':
| * | | | | Reconcile with jb-mr1-release - do not mergeThe Android Open Source Project2012-11-020-0/+0
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | Change-Id: Icad86b92debd9605c745283aeffc3f459a3549ce
| | * | | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-11-010-0/+0
| | |\ \ \ \ | | | |_|/ / | | |/| | |