summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Simplify AudioRecord::restoreTrack_l()Glenn Kasten2012-11-131-5/+0
| | | | | | | | | | | | | | Finish removing CBLK_RESTORING and CBLK_RESTORED from control block flags, and remove constant RESTORE_TIMEOUT_MS. Also minor cleanup: - Cache mCblk in local variable cblk and make cblk allocatable in a register. - Use "iMem" for sp<IMemory>. - Add missing error log to AudioRecord; it was already in AudioTrack. This is part of a series to clean up the control block. Change-Id: Ia5f5ab4763c392bc06a45851b167ddaee29e3455
* Move frame size out of the control blockGlenn Kasten2012-11-123-7/+12
| | | | | | This is part of a series to clean up the control block. Change-Id: Ifab1c42ac0f8be704e571b292713cd2250d12a3f
* Move buffers pointer out of the control blockGlenn Kasten2012-11-083-4/+7
| | | | | | This is part of a series to clean up the control block. Change-Id: Ie474557db7cb360f2d9a0f11600a68f5a3d46f07
* Simplify AudioTrack::restoreTrack_l()Glenn Kasten2012-11-082-2/+3
| | | | | | | | | 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-081-1/+6
|\
| * Add all-channel AudioTrack::setVolume() APIGlenn Kasten2012-11-051-1/+6
| | | | | | | | | | | | | | 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-081-0/+7
|\ \
| * | Fix call to restoreTrack_l() without lock heldGlenn Kasten2012-11-071-0/+7
| | | | | | | | | | | | | | | | | | Also document lock order Change-Id: I2c1f273a0a51fa79ee3dd766de8d23083e270051
* | | Remove CBLK_DIRECTION from control block flagsGlenn Kasten2012-11-071-12/+26
|/ / | | | | | | | | | | 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-072-2/+1
|\ \
| * | Remove CBLK_FAST from control block flagsGlenn Kasten2012-11-062-2/+1
| | | | | | | | | | | | | | | | | | 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-071-8/+11
|\ \ \
| * | | Remove unused fields in AudioTrack::BufferGlenn Kasten2012-11-061-8/+11
| |/ / | | | | | | | | | Change-Id: Iab75f6e2348d8b6d1f3cec95aeb3fcd5135dfb50
* | | Removed unused fields in AudioRecord::BufferGlenn Kasten2012-11-061-7/+0
|/ / | | | | | | Change-Id: I89fc6d8f695b48516d956b0a9a4a43d408f369f9
* | Merge "AudioRecord comments"Glenn Kasten2012-11-061-30/+45
|\ \
| * | AudioRecord commentsGlenn Kasten2012-11-021-30/+45
| |/ | | | | | | Change-Id: Ibec910608948d778dc655d900255a80384e9b06f
* | Merge "Simplify control block flag names"Glenn Kasten2012-11-051-22/+9
|\ \
| * | Simplify control block flag namesGlenn Kasten2012-11-051-22/+9
| |/ | | | | | | | | | | Use only one symbol per flag Change-Id: Ia3582e2134abd60c896d11337face65383e79c7c
* | Remove deprecated AudioTrack APIsGlenn Kasten2012-11-051-12/+0
|/ | | | Change-Id: I88be6525f3e33df529c0c3cb701d12a484809477
* Merge "Add NBAIO support for more sample rates"Glenn Kasten2012-11-021-8/+6
|\
| * Add NBAIO support for more sample ratesGlenn Kasten2012-11-011-8/+6
| | | | | | | | | | | | | | 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
* | AudioTrack commentsGlenn Kasten2012-11-021-11/+16
| | | | | | | | Change-Id: I08988f635c5bc6f4c35e9c4188f3d6fa557bc4c2
* | am d37ee8fb: am 96076964: Make video encoders\' bitrate mode (constant, ↵Andreas Huber2012-11-011-1/+4
|\ \ | | | | | | | | | | | | | | | | | | variable, ...) configurable * commit 'd37ee8fb36c972bf8d07868700a2c47358e25eb4': Make video encoders' bitrate mode (constant, variable, ...) configurable
| * | Make video encoders' bitrate mode (constant, variable, ...) configurableAndreas Huber2012-11-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-017-33/+55
| |/ |/| | | | | Change-Id: Ib28fd7b9ce951a6933f006e7f8812ba617625530
* | am 0f95fadb: am 7e2c0a15: Merge "Support querying active record sources" ↵Jean-Michel Trivi2012-10-102-0/+3
|\ \ | |/ | | | | | | | | | | into jb-mr1-dev * commit '0f95fadb8a3ee402f2c51a932a06f1f685ab2d35': Support querying active record sources
| * Support querying active record sourcesJean-Michel Trivi2012-10-102-0/+3
| | | | | | | | | | | | | | | | | | Add support for querying whether there is currently a recording underway from the specified audio source. Bug 7314859 Change-Id: I986b231a10ffd368b08ec2f9c7f348d28eaeb892
* | am ce42b94a: am 4401091b: Merge "Better power savings with wifi display ↵Andreas Huber2012-10-031-16/+26
|\ \ | |/ | | | | | | | | | | code." into jb-mr1-dev * commit 'ce42b94ae4363c97945732fb8698675fa8b0861a': Better power savings with wifi display code.
| * Better power savings with wifi display code.Andreas Huber2012-10-031-16/+26
| | | | | | | | | | | | | | | | No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
* | am 4cb8a163: am 1c730d33: Merge "ALooper::GetNowUs() now relies on ↵Andreas Huber2012-10-012-10/+0
|\ \ | |/ | | | | | | | | | | systemTime instead of gettimeofday." into jb-mr1-dev * commit '4cb8a16365e2342e1ee99906d406de939023f389': ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.
| * ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.Andreas Huber2012-10-012-10/+0
| | | | | | | | | | Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3 related-to-bug: 7266324
* | am 5db05850: am 1a0d1670: Merge "Optionally have SurfaceMediaSource return ↵Andreas Huber2012-10-011-0/+5
|\ \ | |/ | | | | | | | | | | absolute timestamps" into jb-mr1-dev * commit '5db05850d02939e63800ae5b1fcf53a767f2e895': Optionally have SurfaceMediaSource return absolute timestamps
| * Optionally have SurfaceMediaSource return absolute timestampsAndreas Huber2012-10-011-0/+5
| | | | | | | | | | | | | | based on systemTime(). Change-Id: I2eff15dd149a4b737d6e7473d1907cf0c80b6b38 related-to-bug: 7266706
* | am c57979de: am 0e1d7164: Remove double negatives from SurfaceMediaSourceAndreas Huber2012-10-011-2/+2
|\ \ | |/ | | | | | | * commit 'c57979deb28e8c4e4809796eebdc92820ed461e2': Remove double negatives from SurfaceMediaSource
| * Remove double negatives from SurfaceMediaSourceAndreas Huber2012-10-011-2/+2
| | | | | | | | | | | | | | ensure mStarted actually reflects the state of SurfaceMediaSource Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc related-to-bug: 7258622
* | am 558301cb: am d13df246: Merge "Enable write side of MonoPipe to be ↵Glenn Kasten2012-10-011-0/+13
|\ \ | |/ | | | | | | | | | | shutdown" into jb-mr1-dev * commit '558301cb1ecc3679997593905230bd3589e736a4': Enable write side of MonoPipe to be shutdown
| * Merge "Enable write side of MonoPipe to be shutdown" into jb-mr1-devGlenn Kasten2012-09-301-0/+13
| |\
| | * Enable write side of MonoPipe to be shutdownGlenn Kasten2012-09-281-0/+13
| |/ |/| | | | | | | Bug: 7253033 Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
| * DO NOT MERGE: Remove experimental parameters for burst modeJames Painter2012-09-281-10/+0
|/ | | | | Bug: 7248756 Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
* Various improvements to a cleaner shutdown of the wifi display connection.Andreas Huber2012-09-281-0/+6
| | | | | Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918
* Implement android.media.AudioManager.getProperty()Glenn Kasten2012-09-252-0/+11
| | | | | Bug: 6635041 Change-Id: I3386a4a6c226bc4eceaf65556119e4fb15f73224
* Remove legacy code and APIs in wifi display related code.Andreas Huber2012-09-211-6/+0
| | | | Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
* HDCP module binderizedAndreas Huber2012-09-191-0/+2
| | | | Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
* Now we only support a single client connectionAndreas Huber2012-09-171-2/+0
| | | | | | | | | | | and it cannot be initiated from the local interface address for security reasons. Also, there's at most one playback session active at any time, and when it dies we shutdown the client connection altogether and signal an error to the listener. related-to-bug: 7139784 Change-Id: Ia8d02bc994ce9986936947ddda1f2a3dddbf5714
* Merge "Allow OMXCodec to specify an output color format for OMX decoder ↵James Dong2012-09-141-1/+1
|\ | | | | | | component" into jb-mr1-dev
| * Allow OMXCodec to specify an output color format for OMX decoder componentJames Dong2012-09-101-1/+1
| | | | | | | | | | | | | | | | The output color format is specified via the meta argument in OMXCodec::Create() o related-to-bug: 7122195 Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
* | Support IDR requests in wifi display, MediaCodec and ACodec.Andreas Huber2012-09-132-0/+8
| | | | | | | | Change-Id: I596cf8dd61b63465437f78413186fad2be287244
* | Throttle SurfaceMediaSource.Andreas Huber2012-09-131-0/+6
| | | | | | | | Change-Id: I214ce60f8d94df9c07041577e34ed1ad5e199fdb
* | Camera: Add HDR scene mode constants.Eino-Ville Talvala2012-09-101-0/+4
| | | | | | | | Change-Id: I78b1f8ca3c1a03222ed363db26d9a09cf0b13528
* | Camera2: Add a burst mode skeleton.James Painter2012-09-071-2/+12
| | | | | | | | | | Bug: 6243944 Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a