summaryrefslogtreecommitdiffstats
path: root/modules/audio
Commit message (Collapse)AuthorAgeFilesLines
* audio HAL: add parameters to open streamEric Laurent2014-07-281-2/+5
| | | | | | | | Pass device address (and audio source for inputs) to open_output_stream() and open_input_stream() audio HAL functions. Bug: 14815883. Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
* Add audio_input_flags_t to HAL open_input_streamGlenn Kasten2014-07-161-1/+2
| | | | Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
* audio: different frame size calculation for input and outputEric Laurent2014-07-031-2/+2
| | | | | Bug: 15000850. Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
* audio: allow compiling for 64-bitColin Cross2014-04-181-2/+2
| | | | | | | | Set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: If0c0135e57935d785a0f36b7d5187ac567c7e21c
* Audio HALs are 32-bit onlyGlenn Kasten2014-03-131-0/+2
| | | | Change-Id: I97eef87849312610d82bc3f82e168bb40604e646
* hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHColin Cross2014-01-241-2/+2
| | | | | | | LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it with LOCAL_MODULE_RELATIVE_PATH. Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
* Code changes for offload support in hardware libhardwareRichard Fitzgerald2013-07-181-1/+10
| | | | Change-Id: Icfe9bf4b4768bbdcb11e6c77ac26163018f9c7c8
* audio: new audio devices enumsEric Laurent2012-09-071-25/+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
* Extend the audio HAL interface to support get/set master muteJohn Grossman2012-08-071-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit d245968b7ef0be5c776c9aefff3eca9e293d1b35) > Extend the audio HAL interface to support get/set master mute > > Hand merge from ics-aah > > > Extend the audio HAL interface to support get/set master mute: DO NOT MERGE > > > > Extend the audio HAL interface to allow HALs to optionally support HW > > level master mute. This follows the same pattern as master volume and > > is part of the fix for bug 6828363. Because of the divergences > > between ICS and master, this change will need to be merged by hand. > > > > Signed-off-by: John Grossman <johngro@google.com> > > Change-Id: Ica6f5e37e13d13dde60463966f41f271ffa104fd > > Change-Id: I5e7aea6d7da0012dcc077281f9077fc04cfb9889 > Signed-off-by: John Grossman <johngro@google.com> Change-Id: I2011cc5bc41ca7081ce255a4bfba65f36f899bc4 Signed-off-by: John Grossman <johngro@google.com>
* struct effect_descriptor_s const correctnessGlenn Kasten2012-07-241-2/+2
| | | | | | Also struct audio_stream in audio_stream_frame_size Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
* Use audio_channel_mask_t consistentlyGlenn Kasten2012-06-252-4/+4
| | | | Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
* rename audio policy output flags.Eric Laurent2012-04-181-1/+1
| | | | Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
* audio: updated audio HAL device APIEric Laurent2012-04-171-11/+12
| | | | | | | | Modified open output and input stream functions to add new parameters needed by audio HAL. Also grouped parameters in a config structure for clarity. Change-Id: I60832d8e5b5e4a48f209a6d83f5ca9c044be61f1
* audio policy: use audio_devices_t when appropriateEric Laurent2012-03-081-1/+1
| | | | Change-Id: Iee57cf5c3bdfefd981e1ed5958df10171f8716e6
* Modifications to audio_hal for Android@Home.Mike J. Chen2012-02-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squashed merge of the following changes: Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7 Author: John Grossman <johngro@google.com> Date: Thu Aug 11 15:34:55 2011 -0700 Fill out a missing entry in the audio HAL function table. The entry for get_initial_master_volume was missing from the non-legacy audio HAL and needs to be filled out. Also fix up the order of the comments describing the get_initial_master_volume method. Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b commit cea82facb63fd237a4ea6fb770605fcb500850ff Author: Jason Simmons <jsimmons@google.com> Date: Thu Jun 16 14:24:24 2011 -0700 Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef commit 60a9acd7eee470a8d870218e8be618bfa3be15a5 Author: Mike J. Chen <mjchen@google.com> Date: Tue Jun 7 09:13:23 2011 -0700 Add Android@Home extensions to new Audio HAL interface. Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05 Signed-off-by: Mike J. Chen <mjchen@google.com> Change-Id: I09f3756d12a1ce4f9af39610ed857890742a72df Signed-off-by: Mike J. Chen <mjchen@google.com> Signed-off-by: John Grossman <johngro@google.com> Conflicts: include/hardware/audio.h modules/audio/audio_hw.c
* Use audio_source_t consistentlyGlenn Kasten2012-01-261-1/+1
| | | | Change-Id: Ie25ddeb091646b7e24149b3b23a18ce0807e1891
* Merge "Use audio_format_t consistently"Glenn Kasten2012-01-202-9/+9
|\
| * Use audio_format_t consistentlyGlenn Kasten2012-01-122-9/+9
| | | | | | | | | | | | Was sometimes int or uint32_t Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
* | Audio policy HAL set_ringer_mode is deprecatedGlenn Kasten2012-01-181-0/+1
| | | | | | | | Change-Id: If0f82d5c1cb9a0faf70f5a8434f68cdc39784ee6
* | Merge "audio policy: manage stream volume per device"Eric Laurent2012-01-171-0/+18
|\ \
| * | audio policy: manage stream volume per deviceEric Laurent2012-01-171-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve volume management by keeping track of volume for each type of device independently. Added functions at the audio policy interface to set and get stream volume for a particular device. Change-Id: Ic8899e82e48193cb65b3673e9d20383efed943b5
* | | Merge "set_mode and set_phone_state now take audio_mode_t"Glenn Kasten2012-01-172-2/+2
|\ \ \ | |/ / |/| |
| * | set_mode and set_phone_state now take audio_mode_tGlenn Kasten2012-01-122-2/+2
| |/ | | | | | | Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
* | Use audio_stream_type_t consistentlyGlenn Kasten2012-01-121-1/+1
|/ | | | Change-Id: I1e92f018a07e4b1b73ef8d4de461ef1e08bc48e7
* audio policy: register effect CPU on enableEric Laurent2011-08-111-0/+6
| | | | | | | | Added a method on audio policy interface to register audio effect CPU usage on enable and unregister on disable instead of when the effect is created or destroyed. Change-Id: Iee20bf70fee7302f817ec4c7d9bf7640caca2e95
* Audio HAL: added interface for audio preprocessingEric Laurent2011-07-081-0/+23
| | | | Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
* hardware: drop the _hal suffixes from audio.h and audio_policy.hDima Zavin2011-06-132-2/+2
| | | | | Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc Signed-off-by: Dima Zavin <dima@android.com>
* hardware: move audio_policy.h to system/Dima Zavin2011-06-131-1/+1
| | | | | Change-Id: I392c5f91db88ca923dead7202064169edc1cc0c7 Signed-off-by: Dima Zavin <dima@android.com>
* audio: move audio.h to system/core/include/system/audio.hDima Zavin2011-05-122-2/+2
| | | | | Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0 Signed-off-by: Dima Zavin <dima@android.com>
* libhardware: add stub audio and audio_policy modulesDima Zavin2011-04-273-0/+773
Change-Id: Ib6c0c49dbc369b735b2ac5fb5b583de96c3e9f3e Signed-off-by: Dima Zavin <dima@android.com>