| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
lmp-dev
* commit '5bec1b725df12905e86c35ea142b3a628b266a6c':
audioflinger: fix audio patch release
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix error in PatchPanel:releaseAudioPatch() causing
the wrong patch handle to be passed to the audio HAL.
Bug: 17368621.
Change-Id: I037fd2e6273508c830414b5900d07c0178b96dae
|
|\ \
| |/
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| | |
debugging" into lmp-dev
* commit '955d8f906e920fe8da66e7943a7f2bfa98422e19':
Restore the ability to build tee sink for debugging
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changelist does not enable tee sink, but makes it possible to do so.
Tee sink had suffered some bit rot since it is not built by default.
Also fixes a crash for > 2 byte per sample or > 2 channels.
Still does not write correct header for floating-point;
that will be best solved by moving to libsndfile.
Bug: 16990102
Change-Id: I8e92c588ccc513d7802d696fcfb324e815772df6
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '3d640e0a93e31bb53e671ed467774b63bb69750e':
audio flinger: fix use of global effect buffer
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When float mixing format is enabled, audio effects use a specific
buffer in 16 bit format. This buffer was not enabled when only
global effects were present resulting in the mixer accumulating directly
to the output sink buffer.
Bug: 16202259.
Change-Id: I3537d36c63196d97772f0ab22dd31d04dfa7fdd6
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 11815245
Change-Id: I94885a1b4c2c7c055b8eacc7f7d0fcd064094b6d
|
|/
|
|
|
|
|
|
| |
Incorrect handling caused "stereo" mode to be used.
Augmented error handling to print more debug info.
Bug: 17208475
Change-Id: I5bcaf0ba5bd5a4f7d4885f8cce43bbf42e5f1e6b
|
|
|
|
|
| |
Bug: 16205169
Change-Id: Ie15ec2a737b6ddd16b2d26030d01564ff70177f5
|
|
|
|
|
| |
Bug: 16658148
Change-Id: I2dd04b23a143e0948b299d408790e7a46b5a53b0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since effects are now enabled for recording, mono cases are possible
and needed to be correctly allocated.
Bug: 16917961
Change-Id: I760fc421f9f90fabb3f0deadd5f9dc61cd284371
|
|/
|
|
|
|
|
|
|
| |
Also improve robustness to choice of sampling rate or buffer size
such that increasing either by 10x does not cause overflow.
Bug: 12979141
Bug: 15933066
Change-Id: If7989bd745d1bee3bdf811b8b7c978543ccafb65
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow creation of audio patches with more than one sink.
More than one sink is enabled when:
- Connecting an input device to output devices on the same audio HW module.
- Connecting an output mix to output devices on the same audio HA module.
All other patches are limited to one sink.
Bug: 16879363.
Change-Id: I95be6948ef29df64e51e5b8ace38c2db7f3e89f2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do not permit mixing to mono sink in AudioFlinger.
Allow effects on mono sink if not Mixer thread (e.g. Record).
Bug: 16863095
Change-Id: I8b232fc1fb3f07bf017020c5d4f9ace644dec6d8
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Add possibility to use sink and source devices not on
the primary HW module for voice calls (e.g. USB headsets).
Bug: 15520724.
Change-Id: Ib27db4ba759b6d91ea1104dc2e35c87733517b30
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a method to query from the audio HAL the HW sync
source used for a given audio session.
Modify audio policy to select a direct output with HW sync
when requested.
Bug: 16132368.
Change-Id: I03038f9188f2d389f8a5fd76a671854013a4513e
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A memclear in the EffectChain was out of bounds.
Bug 15432115
Bug 16845751
Change-Id: Ib0adc7fa730d630bb71fb87d51163a26149b16e2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Audio policy:
Replace unknown device assertion by debug log in setDeviceConnectionState().
It is possible that some kernels indicate connection of a legacy device type
when a USB audio device is connected.
We should just ignore this device.
- Audio flinger:
Make sure FastMixer thread is idle before exiting the normal mixer thread and
closing the output stream.
Change-Id: Ia10a20176a60a8aa56765538093a555fc998508a
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Legacy code that has not been hooked up.
Change-Id: Ic01a4eddfa1020089d5bc42f58b6a4697698c27a
|
| |
| |
| |
| |
| | |
Bug: 13744704.
Change-Id: I572c89f88dcab2b8b612ec6860983306f9f159ab
|
|/
|
|
|
|
|
|
|
|
| |
Use stdatomic.h instead. We're trying to remove android_atomic use
wherever possible. The 64-bit uses seem easiest to remove first.
This cleans up the code, though not as much as C++ <atomic> would,
if it worked everywhere.
(cherry picked from commit f39b560952d3706a7ff47ef0d82c1a836daeea42)
Change-Id: I3c29bdbd5915cb9d47118834a3a742fe296cf87f
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ibdbdc6ea0b87cdcd15432257a3455b11b3ce14b7
|
| |
| |
| |
| | |
Change-Id: Ife5e40264f43fb3ccb40830228701003fe106bf5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Indicate the audio session ID when calling getInput(),
startInput(), stopInput(), releaseInput().
Bug: 12378680.
Change-Id: I763793752f93e2f4e1445a5ab217c895af011038
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 16525305
Change-Id: Ie010822b0fa9dec74adde1d1b091ee44c183fc94
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename AudioSystem::newAudioSessionId() to
AudioSystem::newAudioUniqueId() as it can be used
also for I/O handles.
Bug: 12378680.
Change-Id: I611ea3b5eb57a4b0774437f477ee87dc4ccc2cc2
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add parameters to openInput() and openOutput(): device address,
input source.
Allow caller to specify a given I/O handle
Group parameters in a struct audio_config.
Bug: 12378680.
Change-Id: I7e9af74c0d996561cc13cbee7d9012d2daf33025
|
|/
|
|
|
| |
Bug: 16601366
Change-Id: I573b98631f81b7768f7cc00aa09e560008dea587
|
|
|
|
|
|
| |
But not enabled (kEnableExtendedChannels == false).
Change-Id: I62f7e31fbd29ad703a9a02f5d1a280b6972dd423
|
|
|
|
|
|
|
|
| |
tests/test-mixer updated to handle multichannel.
New mixer path is still disabled (kUseNewMixer = false).
Subsequent CL will enable multichannel capability.
Change-Id: I71dafa94cc1d9af567c285e0ded7c5c94e3ff926
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for audio device connections between different audio
hw modules.
The patch is performed by creating a bridge between the playback
thread connected to the sink device and the record thread connected
to the source device using a pair of specialized PlaybackTrack and
RecordTrack.
- Added PatchTrack and PatchRecord classes.
- Added TrackBase type to indicate more clearly the track behavior.
- A TrackBase can allocate the buffer or reuse an existing one.
- Factored some code in openOutput() and openInput() for internal use
by PatchPanel.
Bug: 14815883.
Change-Id: Ib9515fcda864610458a4bc81fa8f59096ff4d7db
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I384bf8317d4f03616bf9f2b458a8700965d5cf56
|
|/
|
|
| |
Change-Id: I1cf0c0d9375779b3074af12f4cbf9c1ec07bf4ff
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This is used to convert between channel masks for input AudioTrack
data.
Change-Id: Iedffaeccb99c7053992152e7b1cb6b2d33b12eef
|
|\ \
| |/ |
|