summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |\ \ \ \ | | | |_|/ / | | |/| | |
* | | | | | am d37ee8fb: am 96076964: Make video encoders\' bitrate mode (constant, ↵Andreas Huber2012-11-013-6/+28
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable, ...) configurable * commit 'd37ee8fb36c972bf8d07868700a2c47358e25eb4': Make video encoders' bitrate mode (constant, variable, ...) configurable
| * | | | | am 96076964: Make video encoders\' bitrate mode (constant, variable, ...) ↵Andreas Huber2012-11-013-6/+28
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configurable * commit '96076964863ee6887f0bed9d0f11f424b48ab9b9': Make video encoders' bitrate mode (constant, variable, ...) configurable
| | * | | | Make video encoders' bitrate mode (constant, variable, ...) configurableAndreas Huber2012-11-013-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | through the desired output format. Configure the video encoder to use constant bitrate mode for WFD. Change-Id: Id7bd619598153c13448a9c5acd69d80f8a01f333 related-to-bug: 7459597
* | | | | | Line length 100Glenn Kasten2012-11-0122-182/+326
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib28fd7b9ce951a6933f006e7f8812ba617625530
* | | | | | Merge "Save copy of mic input, disabled by default"Glenn Kasten2012-11-013-33/+117
|\ \ \ \ \ \
| * | | | | | Save copy of mic input, disabled by defaultGlenn Kasten2012-11-013-33/+117
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Change-Id: I4f5e95a5ddf016530d1b2747a0a5ca0962caabda
* | | | | | am 8603c8ce: (-s ours) Reconcile with jb-mr1-release - do not mergeThe Android Open Source Project2012-11-010-0/+0
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / * commit '8603c8ce359a8c69f83305aff3fe5fa26fe4ca0a':
| * | | | Reconcile with jb-mr1-release - do not mergeThe Android Open Source Project2012-11-010-0/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Change-Id: I0fd73e8e0b948c2d01fdb9f4c6e005ee9cd2ac44
| | * | | merge in jb-mr1-release history after reset to jb-mr1-devThe Android Automerger2012-10-310-0/+0
| | |\ \ \ | | | |/ / | | |/| |