| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This bug was causing movies to think there was still data left to play so they never finished.
Bug: 18360054
Change-Id: If7aee81d62b7af8532abd14579677848a06fe2b1
Signed-off-by: Phil Burk <philburk@google.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
custom mixes" into lmp-mr1-dev
* commit 'b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2':
audio policy: add support for custom mixes
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
into lmp-mr1-dev
* commit 'c49d9cda49dab8b7dd0376cf56476b3e1895d5c6':
audio policy: add support for custom mixes
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add support for custom mixes in AudioPolicyManager.
Two methods are added to register or unregister a list of custom mixes
with their attributes and format.
getOutputForAttr() and getInputForAttr() first look for a match in
registered mixes before defaulting to normal output/input selection
Remote submix device connection disconnection now takes address into
account to identify the correspnoding custom mix.
Bug: 16009464.
Change-Id: I3f1c2a485a0fb71b1f984ed0adc9b68aa971e408
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
thread is not initialized." into lmp-mr1-dev
* commit '900f6535af232298e4a77477907a40f68e8dc61b':
Fix getTimestamp if offload thread is not initialized.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
initialized." into lmp-mr1-dev
* commit '561f50de82ce47f11ba8d4f25db1ca1d8467b2a7':
Fix getTimestamp if offload thread is not initialized.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Returns INVALID_OPERATION.
Bug: 18605649
Change-Id: I440fb687fbf9249098e049982fa83bcd1515fd80
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
getOutputForAttr() prototype." into lmp-mr1-dev
* commit '121143d5242a790d0bd01fe1b9cec5d28a1ba1d7':
audio policy: new getOutputForAttr() prototype.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
prototype." into lmp-mr1-dev
* commit 'bf14c62e7973ed793a3b00c2c67beca4484c1c7a':
audio policy: new getOutputForAttr() prototype.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update getOutputForAttr() prototype and group all logic
dealing with audio attributes to stream type conversion in
audio policy manager.
getOutputForAttr():
- specifies the audio session (for future use)
- returns a status code
- receives either stream type (for legacy) or audio attributes
- returns an updated streamtype
Remove logic dealing with legacy stream types to attributes conversion
from AudioTrack.
Use correct type for audio sessions in other APIs (startOutput() ...).
releaseOutput() specifies the audio session (for future use).
Bug: 18067208.
Change-Id: I1bfbe9626c04c7955d77f8a70aecfad2cb204817
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
stream types
* commit '72215491c60fbcdb9a2f0be782e24e39cca249c5':
audio: new routing strategies and stream types
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '1a475921c0577a4650d1bbe40a85b732d1766939':
audio: new routing strategies and stream types
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added new routing strategies and stream type for internal use
by audio policy manager and audio flinger:
- One for accessibility to allow different routing than media
- One for re-routing (remote submix) in preparation of dynamic
policies
- Added stream type for "internal" audio flinger tracks used
for audio patches and duplication.
Bug: 18067208.
Change-Id: I88f884b552e51e4a49c29125e5a1204cf58ff434
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
into lmp-mr1-dev
* commit 'd48f1b68b2b824ffcfdbf6aa67ad4696020a8a11':
Fix format conversion in DuplicatingThread
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
into lmp-mr1-dev automerge: d48f1b6
* commit 'c63c09738772133e9b20a7c8576ad116ff855ee2':
Fix format conversion in DuplicatingThread
|
| |\ \ \
| | |/ /
| |/| /
| | |/
| | |
| | |
| | | |
automerge: d48f1b6
* commit 'd48f1b68b2b824ffcfdbf6aa67ad4696020a8a11':
Fix format conversion in DuplicatingThread
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DuplicatingThread converts PCM data from the format of the source thread
to PCM_16BIT before writing to all connected output tracks.
This needs to be done just once before writing to all tracks.
Bug: 18461844
Change-Id: If05254f87f9198e09a0fa3c4e857afbb53ae7073
|
| |\ \
| | |/
| |/|
| | | |
Change-Id: If10a9cc17245f95d5e10b1507445abbb4020670e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
to use the new static version.
Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
Conflicts:
media/libmedia/IAudioFlinger.cpp
media/libmedia/IMediaPlayer.cpp
media/libstagefright/CameraSource.cpp
|
| | |
| | |
| | |
| | |
| | |
| | | |
to use the new static version.
Change-Id: I89a5988a0ac694ffc04d88cf939e8455bf925d4c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also log "second chance" sleeps
Change-Id: I6e352948926c246002642a50c92af213e6b79040
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
automerge: 02b5708
automerge: 8510932
* commit '8510932d6e5a1d4628c700fbff8f836abe470713':
audioflinger: fix duplicating thread output buffers clear
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Also clear mix buffer in DuplicatingThread::threadLoop_mix()
instead of just sink buffer when output threads are not
ready.
Bug: 18262127.
Change-Id: I4c22bbeaccdcc8d7c10c5882dde3439eb73d6ede
|
| |
| |
| |
| |
| |
| |
| | |
Display output thread type and flags.
Also add units and use consistent spelling.
Change-Id: I19eb627f41c4887b6ad0543024a8477a99890798
|
|\ \
| |/
| |
| |
| | |
* commit '9f38361fa0ba8fe04b9ba7e21bf25abe20620800':
Fix the fix
|
| |
| |
| |
| |
| |
| |
| | |
We need to clear the buffer a little more often.
Bug: 18023017
Change-Id: If8a522b9133a4269e2435af8958f6ced322e71e9
|
|\ \
| |/
| |
| |
| |
| |
| | |
"Clear effect buffer before sending to chain" into lmp-dev
* commit '412b8e719e77e6e3284b87fd8ae1499d6ae76e06':
Clear effect buffer before sending to chain
|
| |
| |
| |
| |
| |
| |
| |
| | |
otherwise the effect might get a buffer with previous data instead
of silence.
Bug: 18023017
Change-Id: Ic6be5ce0e74552aac2a0cce9c660893f9ad27f5c
|
|\ \
| |/
| |
| |
| |
| |
| | |
processing transfer between record threads." into lmp-dev
* commit 'b17182d85f147a8d68bba2b4d7ed5e757691b4f4':
audioflinger: fix pre processing transfer between record threads.
|
| |\
| | |
| | |
| | | |
into lmp-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix two problems remaining with pre processing effects transfer from
one record thread to the next in case of tear down due to device connection:
1 - the enabled state of the effects was not communicated to the new HAL
input stream.
2 - the effects saved in orphan chains list were not transfered to the
new thread when a AudioRecord was created.
Bug: 17757378.
Change-Id: I0923c98470db3b51154dc89846157780a4c21e86
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
mix buffer in AudioTrack::getTimestamp" into lmp-dev
* commit '12d0cd1bf756ec96755fae2e573659898bfba6d6':
Fix uncertainty of one normal mix buffer in AudioTrack::getTimestamp
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The per-thread timestamp latch was not synchronized with the per-track
released frames. Now the value of each track's released frames is
latched along with the timestamp.
Bug: 17531839
Bug: 17669342
Change-Id: I9d50c8c6a5de55a3f4561ac40e20d497376c1257
|
|\ \
| |/
| |
| |
| |
| |
| | |
normal mix buffer in AudioTrack::getTimestamp"" into lmp-dev
* commit '0e42a8807edec5541ecac4a050459fbb72c477dc':
Revert "Fix uncertainty of one normal mix buffer in AudioTrack::getTimestamp"
|
| |\
| | |
| | |
| | | |
AudioTrack::getTimestamp"" into lmp-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 54464ba861aaafd11ee5645f5d1ecd1171c6e9fe.
Bug: 17733142.
Change-Id: I9886d40032b2f7d96bee03e600e14f78943d8052
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
AudioTrack::getTimestamp" into lmp-dev
* commit '785da8f542120e49d29289947e69aba180c1724b':
Fix uncertainty of one normal mix buffer in AudioTrack::getTimestamp
|
| |\ \
| | |/
| | |
| | | |
into lmp-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The per-thread timestamp latch was not synchronized with the per-track
released frames. Now the value of each track's released frames is
latched along with the timestamp.
Bug: 17531839
Bug: 17669342
Change-Id: I96252782911bd42a2534cc4030521b7eeb99a7b9
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
output streams" into lmp-dev
* commit 'e0270e79066825bb232ef5f271ac9ef84ce91b0f':
audioflinger: forward flush to direct output streams
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Track flush should be forwarded to the audio HAL when playing
on a direct output stream.
Bug: 17704953.
Change-Id: Iafc94327fe9aebf1d4eaa97b76c6767b7ac5babe
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '00cd942ebe4bf675cad1fbba0d09ba36e419b017':
Fix tee sink
|
| |/
| |
| |
| |
| |
| |
| | |
Note: this does not fix the bug below, but it helps to investigate the bug.
Bug: 17578238
Change-Id: I0fd27a477b73ba0e1c5a658bdfad17c500f5dc67
|
|\ \
| |/
| |
| |
| | |
* commit '589e12415e10e291d48c19f63cb47193eb613fb0':
audioflinger: remove debug log.
|
| |
| |
| |
| |
| |
| |
| | |
Remove debug log left by commit ab5cdbaf.
bug: 17537746.
Change-Id: I10f672f607f8e87caaa8228fc05eff8aee7dfa15
|
|\ \
| |/
| |
| |
| |
| |
| | |
leak" into lmp-dev
* commit 'f5e9870228db68d9cb927ff49f2e46dabfb7bbec':
audioflinger: fix pre processing effect leak
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a capture thread was closed, the effects attached to this thread
were left dangling and the associated effect chain destroyed.
When their last client was disconnected, the effects were not released
properly from the effect library because the destruction process could
not be completed without the effect being attached to a thread.
A similar problem prevented a RecordTrack to be properly released if
its client was destroyed after the capture thread.
The fix consists in allowing the effect or record track to be properly
released even if its parent thread cannot be promoted.
Also save any effect chain still present on a closed capture thread
in case a new client wants to reuse the effects on the same session later.
Bug: 17110064.
Change-Id: I5cd644daa357afd1f3548f9bcb28e6152d95fdb8
|
|\ \
| |/
| |
| |
| |
| |
| | |
for oneway" into lmp-dev
* commit 'b12d6a17d33141789c974e3bd3eacfcb0be1c1e3':
Make IPowerManager native conform to .aidl for oneway
|
| |
| |
| |
| |
| |
| |
| |
| | |
But provide a temporary escape hatch for AudioFlinger.
This oneway option will be removed as soon as possible.
Bug: 16408906
Change-Id: I058a50906af810787e444a96819cb781b7f639ad
|