summaryrefslogtreecommitdiffstats
path: root/modules/usbaudio
Commit message (Collapse)AuthorAgeFilesLines
...
* Support for 32-bit data conversions.Paul McLean2014-07-151-39/+215
| | | | Change-Id: I18d955d9b2df99744ae6211bdb924c679ea7a617
* Revert "Added enumeration of legitimate sample rates for input and output."Eric Laurent2014-07-151-215/+39
| | | | | | This reverts commit 0a4f9f6662aad6b97a1877030d5efbcfbd94c03c. Change-Id: I6e7125aecf2ff2e89a4c9206dc669d8e792a6300
* 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 "Multi-format USB audio input"Paul McLean2014-07-021-42/+119
|\
| * Multi-format USB audio inputPaul McLean2014-07-071-42/+119
| | | | | | | | Change-Id: I716a9f79dcfea35eacd0aeeda530e3e3c7eb4d32
* | audio: different frame size calculation for input and outputEric Laurent2014-07-031-5/+7
|/ | | | | Bug: 15000850. Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
* Multi-format USB Audio suportPaul McLean2014-06-301-152/+336
| | | | Change-Id: I2815e1dc38d39a3d88fb0affd52b1b9f50a73b92
* usb audio: fix capture channel conversionEric Laurent2014-06-271-5/+5
| | | | Change-Id: Ibdff053bd6ecc4bf2bc8bb51384098911f52f6ef
* Implement minimal buffer size for playbackPaul McLean2014-06-201-1/+26
| | | | | | This will enable low-latency playback in mixer/audioflinger. Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7
* usb audio: fix usb capture configurationEric Laurent2014-06-111-13/+18
| | | | | | | | | | | Capture configuration was using cached_output_hardware_config instead of cached_input_hardware_config. Also enable mono capture by rejecting first attempt to open an input stream in mono with -EINVAL error: AudioFlinger will reopen in stereo and do the channel conversion. Change-Id: Ibdf53be4aa88d47091745bc71daa1dec002535f8
* USB HAL: 64-bit compile issuesMark Salyzyn2014-04-281-29/+30
| | | | | | | | - size_t/ssize_t issues - const warnings - printf format (unsigned/signed and non-integer types) Change-Id: I36d6b0d86e832b46eb0da076e99bf1f25bd697ff
* Added support for 1-channel capture sources (like a microphone)Paul McLean2014-04-281-18/+55
| | | | Change-Id: Ie38b41ed8a63bf1b813379361665c883f08cbaae
* Merge "USB HAL Capture Implementation"Paul McLean2014-04-251-199/+408
|\
| * USB HAL Capture ImplementationPaul McLean2014-04-241-199/+408
| | | | | | | | Change-Id: Ic04f7e1b33b423e5169667700145b9cbdd9704a6
* | am 6322562d: am c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135eColin Cross2014-04-211-1/+1
|\ \ | |/ |/| | | | | | | | | * commit '6322562d0f1387c08109f706f381a3818114f91f': usbaudio: allow compiling for 64-bit audio_remote_submix: allow compiling for 64-bit audio: allow compiling for 64-bit
| * am c070bad4: Merge changes I672d4ee8,I6a2183b5,If0c0135eColin Cross2014-04-211-1/+1
| |\ | | | | | | | | | | | | | | | | | | * commit 'c070bad435799b4febdd2acf6be6c191f15f724e': usbaudio: allow compiling for 64-bit audio_remote_submix: allow compiling for 64-bit audio: allow compiling for 64-bit
| | * usbaudio: allow compiling for 64-bitColin Cross2014-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: I672d4ee8d9e70c75f9376ca60389af08f73166b8
* | | Initial implementation of usb audio I/OPaul McLean2014-03-311-55/+711
|/ / | | | | | | Change-Id: Ib82783f0b25887e2d34a24fde346cee5003d5b89
* | am 5106ad0c: Merge "Audio HALs are 32-bit only"Glenn Kasten2014-03-131-0/+1
|\ \ | |/ | | | | | | * commit '5106ad0c6e664a622d177d997d3ec7147ef1ae8f': Audio HALs are 32-bit only
| * Audio HALs are 32-bit onlyGlenn Kasten2014-03-131-0/+1
| | | | | | | | Change-Id: I97eef87849312610d82bc3f82e168bb40604e646
* | am 1482406b: usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-03-061-1/+1
|\ \ | |/ |/| | | | | * commit '1482406b70a254fc85d153a7066d7f90d724d195': usbaudio: fix for out->dev->lock remains locked in error case
| * usbaudio: fix for out->dev->lock remains locked in error caseAmit Shekhar2014-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | out->dev->lock remains locked in error case in out_write() Added pthread_mutex_unlock() in the error case Bug: 12824374 Change-Id: Id467e3122008eb8128b42dfc0e9103600c1eef2d Signed-off-by: Glenn Kasten <gkasten@google.com>
* | hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHColin Cross2014-01-241-1/+1
|/ | | | | | | LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it with LOCAL_MODULE_RELATIVE_PATH. Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
* audio: new audio devices enumsEric Laurent2012-09-071-7/+1
| | | | | | | | | | Changed audio device API version to 2.0 because of new enums for audio input and output devices. Removed implementations of get_supported_devices() in stub and usb audio modules. Change-Id: I09345d38929d931e5015e36d18259f5a5f950298
* Update USB audio HAL to use APIMike Lockwood2012-04-241-17/+18
| | | | | | | | Also don't clear card and device when out_set_parameters is called to set other parameters. Change-Id: I4feda9f6a2e76cb45bbc8a8f8256bb1760302707 Signed-off-by: Mike Lockwood <lockwood@google.com>
* usbaudio: add initial usbaudio default HALSimon Wilson2012-04-122-0/+468
Change-Id: I6e93b2512883f3697683a74cadb9a29113966bc0