| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 21196672
Change-Id: Ic509e91a9c0d3421b78371207d7e63425e895e71
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not use main audio HAL mutex but a specific stream mutex when
preventing control thread starvation by playback or capture threads.
This will prevent systematic locking of main HAL mutex in read ot write
and avoid glitches.
Bug: 21880828.
Bug: 18489202.
Change-Id: I3054e0d93b823bd9d2fb84a49e9c5bbbe728262a
|
|
|
|
|
|
|
|
| |
1 and 2 channels will default to mono and stereo
n > 2 will default to channel index masks
Bug: 16245854
Change-Id: I39f9d43385a93f48e323653fbde2e38a99b6256f
|
|
|
|
| |
Change-Id: I4ccf8441171ad796e8954b1960f76411ebb86e9d
|
|
|
|
| |
Change-Id: I17818ac89f7ca591422cadfaa388590ff9c08613
|
|
|
|
| |
Change-Id: I297669f7ba5a711923cf2f371d161819fad04740
|
|
|
|
| |
Change-Id: I96954f883798f8e10adce56d9c33b70574999d1c
|
|
|
|
|
|
|
|
|
| |
Eliminated unnecessay locking/unlocking in adev_set_parameters().
Corrected and simplified lock/unlock order in out_write() and in_read().
Bugs 19363750
Change-Id: Iede9a95f5f17645d9780b344fd5ee009cd9fa94d
|
|
|
|
|
|
|
|
|
|
| |
Also clean up logging.
This doesn't completely fix the referenced bug, but substantially
reduces the instances of long latency on USB device disconnect.
Bug: 19363750
Change-Id: If0a6d64c4973277ae2474e121198e47df973965e
|
|
|
|
|
|
|
|
| |
Moved audio (alsa actually) utils files to system/core/alsa_utils.
Renamed "audio" utilities to "alsa" to better relect their purpose.
Renamed audio_hw.c -> to audio_hal. c to better reflect its purpose.
Change-Id: I67c7d47ee02abafd3e12c4c99d605a62e0f59122
|
|\
| |
| |
| |
| | |
* commit 'e64994292cb02fae66f04002e1121d29979503d1':
usb audio: Fix incorrect bytes returned for recording
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In a recording session , the number of bytes read is
not updated when pcm_read() fails. This results in
silence/invalid data being added during a device switch
from USB headset to handset.
Fix is to reset the number of bytes read if pcm_read()
returns an error indicating removal of USB headset.
Bug: 18611518
Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
free momory for str_parms to prevent memory leak.
cherry-pcik from aosp c357157e28dc0ffd069b80aeba9bf8b9eed72c9a
Bug: 18798194.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8b6dd33be1915db764eeaefec5a5da1e9d02dc87
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
* commit '7e9abab1940091b4c4d7589160855870fdda437e':
usbaudio: Return 0 bytes on failure in capture
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* commit 'b338957d02528e5b51a15c5ce21e96fad4ff4a6f':
usbaudio: Return 0 bytes on failure in capture
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Return 0 bytes from in_read() in failure conditions so that invalid
data is not recorded.
Change-Id: I9a6294e4162fa642fd7e160a32d1ad16f255ff62
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Iaef5bcaec19a9e383432c8c8460bcdf1115f1072
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / /
| | | | |
* commit '06fcfc506c44724bbd8089e8971b77aa8edfdde8':
Fix missing #includes in hardware/libhardware.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit '02e3094598ced8b05c9614d6070556d20328ef43':
Fix missing #includes in hardware/libhardware.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: If7c72054bf79b89c3d7a544956da671c3b404269
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '68be24b1cc2bad01d9257f76faabd92dbfc6c3e8':
fix: memory leak
|
| |\ \ \
| | |/ /
| | | /
| | |/
| |/| |
* commit 'ce0bbb97c12b712b75d0df42ce2f6e3f35d8db72':
fix: memory leak
|
| | |
| | |
| | |
| | |
| | |
| | | |
free momory for str_parms to prevent memory leak.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
|
| | |
| | |
| | |
| | | |
Change-Id: Iba6403a3493379c39d22d23b438f028efc2e15b7
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Removed unused function.
Removed unused data table.
Cleaned up TAG strings.
Change-Id: I4c5dbd72f7363dd0a7a60eb2498e122adda43211
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reset ALSA device profile on disconnect event. Entries like
supported sample rates, channel counts, formats will be repopulated
on next connect.
CRs-Fixed: 765434
Change-Id: I27d3b7fd7ff22646996f58c53de08547b1a1fb6a
Bug: 18606219
|
|/
|
|
|
|
| |
Bug 17526569
Change-Id: I64b00fd338eb937303b41608728a18341ee78820
|
|
|
|
|
| |
Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug 17136569
Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
|
|/
|
|
|
|
| |
Bug 17136854
Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
tinyalsa fails to retrieve the correct value for the period count
from the f_audio_source driver and tries to use zero instead.
This wasn't a problem before because the usb audio HAL used hard coded values
that were compatible with the driver.
Bug: 16799652
Change-Id: I6f5b907a0699c58b071e9f419ed8e053a7d9dc77
|
|/
|
|
|
|
|
| |
with same card/device numbers.
Bug: 17012657
Change-Id: I7cb50aedc538d8c648e7f66c8e153cf47ce12577
|
|
|
|
|
|
| |
Bug 16981885
Change-Id: I65c6c418ee0d0f42c87379b614f64302d27f8e77
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not read the ALSA PCM device configuration when playback
or capture is active.
Do not force ALSA profile update if card and device passed
to out/in_set_parameters() do not change.
Hold the main HAL lock when closing or opening the
ALSA PCM device.
Bug: 15520724.
Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The number of channels can be "forced" using k_force_channels.
If the channel count proposed by AudioFlinger is not permitted
by the device, it is emulated.
Change-Id: Ib20e680c8f95adb84616a4fe52977f659cf4d6ca
|
|/
|
|
|
|
|
|
| |
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug: 14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactoring alsa device attributes to alsa_device_profile.h/.c
Refactoring alsa device state to alsa_device_proxy.h/.c
Refactoring format functions into format.h/.c
Refactoring logging functions into logging.h/.c
Sundry (and extensive) code cleanup
Reworked locking on out_write() and in_read() to allow
simultaneous input/output
Bug: 15986827, 15856702, 12833166
Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64
|
|\
| |
| |
| | |
audio_utils/channels.h/.c" into lmp-dev
|
| |
| |
| |
| | |
Change-Id: I967a062f6c1cb5ae6acb6e92f4f3df00a0336733
|
| |
| |
| |
| | |
Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
|
|/
|
|
| |
Change-Id: I57da4ed85fe128e88e63c03be4fe836f8de76ac8
|