summaryrefslogtreecommitdiffstats
path: root/modules/audio/audio_hw.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix build error on 64-bitGlenn Kasten2015-03-231-3/+3
| | | | Change-Id: I9a308bf6499a74efa8084a2e4df1f029b26f3d6c
* Creating audio.stub.default for default HAL audio outputRicardo Garcia2015-03-171-7/+54
| | | | | | | | | | | | Creating a simple "stub" audio HAL to be used in systems with no hardware output. This stub HAL allows systems to run CTS tests and other audio system calls without crashing or unexpected behavior. The stub can be used also as a starting point for creating a new HAL. This is needed for audio_output feature support. bug: 19439530 Change-Id: I9e8e06e5b7fea7c7f3ff1de303db015b51e8acde
* Add missing includes.Elliott Hughes2015-01-291-0/+1
| | | | Change-Id: I91730363386dae6ecb2193ec8f50ba9f8fc0ad60
* 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: 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>
* Use audio_channel_mask_t consistentlyGlenn Kasten2012-06-251-2/+2
| | | | Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
* 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
* 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
* Merge "Use audio_format_t consistently"Glenn Kasten2012-01-201-7/+7
|\
| * Use audio_format_t consistentlyGlenn Kasten2012-01-121-7/+7
| | | | | | | | | | | | Was sometimes int or uint32_t Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
* | set_mode and set_phone_state now take audio_mode_tGlenn Kasten2012-01-121-1/+1
|/ | | | Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
* 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-131-1/+1
| | | | | Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc Signed-off-by: Dima Zavin <dima@android.com>
* audio: move audio.h to system/core/include/system/audio.hDima Zavin2011-05-121-1/+1
| | | | | Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0 Signed-off-by: Dima Zavin <dima@android.com>
* libhardware: add stub audio and audio_policy modulesDima Zavin2011-04-271-0/+412
Change-Id: Ib6c0c49dbc369b735b2ac5fb5b583de96c3e9f3e Signed-off-by: Dima Zavin <dima@android.com>