summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* usb audio: implement microphone mute.Eric Laurent2014-09-141-0/+10
| | | | | Bug: 17321604. Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
* Merge "Fix problem with dropouts with multiple USB audio streams." into lmp-devPaul McLean2014-08-284-23/+58
|\
| * Fix problem with dropouts with multiple USB audio streams.Paul McLean2014-08-284-24/+58
| | | | | | | | | | | | Bug 17136569 Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
* | Fixing non-playback on USB devices with support for MONO playback.Paul McLean2014-08-282-6/+14
|/ | | | | | Bug 17136854 Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
* Merge "Quick hack fix for USB accessory audio support" into lmp-devGlenn Kasten2014-08-211-0/+7
|\
| * Quick hack fix for USB accessory audio supportMike Lockwood2014-08-211-0/+7
| | | | | | | | | | | | | | | | | | | | 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
* | Fix problem with reloading config of new capture devicesPaul McLean2014-08-131-2/+1
|/ | | | | | | with same card/device numbers. Bug: 17012657 Change-Id: I7cb50aedc538d8c648e7f66c8e153cf47ce12577
* Fix problem with reloading config of new devices with same card/device numbers.Paul McLean2014-08-122-3/+2
| | | | | | Bug 16981885 Change-Id: I65c6c418ee0d0f42c87379b614f64302d27f8e77
* usb audio: fix set_parameters read/write concurrencyEric Laurent2014-08-061-30/+52
| | | | | | | | | | | | | 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
* sound_trigger HAL updateEric Laurent2014-07-311-2/+2
| | | | | | Bug: 12378680. Change-Id: I556cd316cbff3b8d88331319ca0ad65a09aae0f9
* Merge "Pass multichannel capability to AudioPolicyManager" into lmp-devAndy Hung2014-07-291-40/+35
|\
| * Pass multichannel capability to AudioPolicyManagerAndy Hung2014-07-291-40/+35
| | | | | | | | Change-Id: Ifcfe5e9e0c01ccb0e9af25e0c718ea5f04181ae4
* | Merge "Add multichannel USB handshaking with AudioFlinger" into lmp-devAndy Hung2014-07-281-66/+45
|\ \ | |/
| * Add multichannel USB handshaking with AudioFlingerAndy Hung2014-07-281-66/+45
| | | | | | | | | | | | | | | | 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
* | audio HAL: add parameters to open streamEric Laurent2014-07-283-6/+15
|/ | | | | | | | Pass device address (and audio source for inputs) to open_output_stream() and open_input_stream() audio HAL functions. Bug: 14815883. Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
* Delete mcu HAL.Jeff Brown2014-07-263-83/+1
| | | | | | | | This HAL was intended to support doze mode but it is currently unused and it's best for it to stay that way. Bug: 16516536 Change-Id: I4f442e27d68f18ff322afd4c1debd2f392687e80
* Refactor USB HAL (audio_hw.c)Paul McLean2014-07-2510-780/+1462
| | | | | | | | | | | | | | 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
* Merge "Move channel expansion/contraction functions to ↵Paul McLean2014-07-172-259/+5
|\ | | | | | | audio_utils/channels.h/.c" into lmp-dev
| * Move channel expansion/contraction functions to audio_utils/channels.h/.cPaul McLean2014-07-162-259/+5
| | | | | | | | Change-Id: I967a062f6c1cb5ae6acb6e92f4f3df00a0336733
* | Add audio_input_flags_t to HAL open_input_streamGlenn Kasten2014-07-163-3/+6
| | | | | | | | Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
* | Marking invalid PCM formats with PCM_FORMAT_INVALID, shrinking format table.Paul McLean2014-07-161-51/+52
|/ | | | Change-Id: I57da4ed85fe128e88e63c03be4fe836f8de76ac8
* Support for 32-bit data conversions.Paul McLean2014-07-151-39/+215
| | | | Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617
* Merge "Revert "Added enumeration of legitimate sample rates for input and ↵Eric Laurent2014-07-151-215/+39
|\ | | | | | | output."" into lmp-dev
| * Revert "Added enumeration of legitimate sample rates for input and output."Eric Laurent2014-07-151-215/+39
| | | | | | | | | | | | This reverts commit 0a4f9f6662aad6b97a1877030d5efbcfbd94c03c. Change-Id: I6e7125aecf2ff2e89a4c9206dc669d8e792a6300
* | Merge "Added enumeration of legitimate sample rates for input and output." ↵Paul McLean2014-07-151-134/+150
|\ \ | |/ | | | | into lmp-dev
| * Added enumeration of legitimate sample rates for input and output.Paul McLean2014-07-151-39/+215
| | | | | | | | Change-Id: Ib53ec5254bd47761dbce84646a841eb9b32fd62a
| * Added enumeration of legitimate sample rates for input and output.Paul McLean2014-07-141-135/+154
| | | | | | | | | | | | | | | | | | | | | | | | Added device_profile to enable refactoring of query methods. Refactored query methods (in_get_parameters/out_getParameters) in terms of device_get_parameters. Freeing ALSA parameter structures (pcm_params_free) Eliminated unnecessay input & output card/device (to support other changes). Change-Id: I771cf4681a628f87ca6d6ee3f85f76ae4d7f1504
* | Merge "Fix warnings" into lmp-devGlenn Kasten2014-07-151-4/+4
|\ \
| * | Fix warningsGlenn Kasten2014-07-151-4/+4
| |/ | | | | | | Change-Id: I1ba5c871a1cb44df8c383f595cbe6d75fef02aa3
* | Support for 32-bit data conversions.Paul McLean2014-07-151-38/+217
|/ | | | | | | Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617 Conflicts: modules/usbaudio/audio_hw.c
* sound trigger: update HALEric Laurent2014-07-071-13/+8
| | | | | | | | | | | | | | New start_recognition() prototype with recognition configuration structure specifying: - List of keyphrases to listen to. - Recognition mode for each keyphrase - List of users and min confidence levels for each users New recognition event format with confidence level and user ID for each user. Bug: 12378680. Change-Id: I95e998c735321ceb5c27f477d894b574a6eca860
* Merge "Multi-format USB audio input"Paul McLean2014-07-021-42/+119
|\
| * Multi-format USB audio inputPaul McLean2014-07-071-42/+119
| | | | | | | | Change-Id: I716a9f79dcfea35eacd0aeeda530e3e3c7eb4d32
* | Merge "audio: different frame size calculation for input and output"Eric Laurent2014-07-063-20/+28
|\ \
| * | audio: different frame size calculation for input and outputEric Laurent2014-07-033-20/+28
| | | | | | | | | | | | | | | Bug: 15000850. Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
* | | am 611a3b71: am 3e618a6a: Merge "gralloc: let target configure page flipping ↵David Turner2014-07-042-1/+16
|\ \ \ | |/ / |/| | | | | | | | | | | | | | ioctl" * commit '611a3b71431293a123a11af99ff731ab30067632': gralloc: let target configure page flipping ioctl
| * | am 3e618a6a: Merge "gralloc: let target configure page flipping ioctl"David Turner2014-07-042-1/+16
| |\ \ | | | | | | | | | | | | | | | | * commit '3e618a6aa10c783d1536f20edfc3347939cfa18e': gralloc: let target configure page flipping ioctl
| | * \ Merge "gralloc: let target configure page flipping ioctl"David Turner2014-07-042-1/+16
| | |\ \
| | | * | gralloc: let target configure page flipping ioctlBernhard Rosenkraenzer2014-06-022-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let vendor choose which framebuffer ioctl (FBIOPUT_VSCREENINFO or FBIOPAN_DISPLAY) is best suited to do page-flip on its target platform. Neither API is well documented about their usage and most of the time it really depends on the respective framebuffer driver implementation. * Default ioctl to do page-flip is FBIOPUT_VSCREENINFO. * Set "TARGET_USE_PAN_DISPLAY=true" in board config file to use FBIOPAN_DISPLAY. Change-Id: Ic3a50bd0f5fe37ac0149e11649c4abdadea85529 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
| | * | | Merge commit 'f404dc42d6677a1aee88d1ce996a7e8e4afe55bb' into HEADBill Yi2014-04-291-1/+1
| | |\ \ \
| | | * \ \ am 5106ad0c: Merge "Audio HALs are 32-bit only"Glenn Kasten2014-03-133-0/+4
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5106ad0c6e664a622d177d997d3ec7147ef1ae8f': Audio HALs are 32-bit only
| | | * \ \ \ am 282ab1b6: Merge "gralloc: dont hardcode 32bpp as RGBX"Jesse Hall2014-03-111-1/+1
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '282ab1b6b1a92b8cb2650c111bfab02916f8715d': gralloc: dont hardcode 32bpp as RGBX
| | | * \ \ \ \ am b342abb6: Merge "gralloc: make private_handle_t layout consistent on ↵Greg Hackmann2014-03-111-1/+1
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32/64-bit" * commit 'b342abb6902a698963bb9d2108000da895845985': gralloc: make private_handle_t layout consistent on 32/64-bit
| | | * \ \ \ \ \ am b96f1083: Merge "Move libhardware of <asm/page.h>."Elliott Hughes2014-03-111-5/+1
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b96f1083b8d10f3e33b64f0da943dedfdb25b557': Move libhardware of <asm/page.h>.
| | | * \ \ \ \ \ \ am f4c46752: Merge "AArch64: Calculate private_handle_t\'s numInts"Greg Hackmann2014-03-071-3/+5
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f4c46752df57be558773a056d6545877ef65c844': AArch64: Calculate private_handle_t's numInts
| | | * \ \ \ \ \ \ \ am 1482406b: usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-03-071-1/+1
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1482406b70a254fc85d153a7066d7f90d724d195': usbaudio: fix for out->dev->lock remains locked in error case
| * | | | | | | | | | | Fix my-dir issueBrian Carlstrom2014-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 52f493189b02c44c6dc329c86da3176ac9c22ad3) Change-Id: I3dcca1fc0fb9d58f0d2f3867f8ab89f87a983cc1
* | | | | | | | | | | | audio: fixed channel count determination from channel maskEric Laurent2014-07-011-20/+12
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use popcount() to derive channel count from channel mask. Bug: 15000850. Change-Id: I4d803dc3e1cb680baa0022e539e6f9eab3ffef1a
* | | | | | | | | | | Fix my-dir issueBrian Carlstrom2014-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9c93a273328ac0c6e96f27870b890a16d18479a5
* | | | | | | | | | | Multi-format USB Audio suportPaul McLean2014-06-301-152/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2815e1dc38d39a3d88fb0affd52b1b9f50a73b92