summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioHardwareInterface.h
Commit message (Collapse)AuthorAgeFilesLines
* audio: Make getPresentationPosition pure virtualEthan Chen2015-10-261-1/+1
| | | | | | * Allows compilation of libaudiohw_legacy static library Change-Id: I84c9ccb6cb3a6c744f83380cfe8c33ad5142eacf
* [AU]Buganizer ID: 17182487, sprout audio HAL should mute all audio output ↵Hochi Huang2014-10-241-0/+2
| | | | | | | | with property ro.audio.silent set to true Signed-off-by: Hochi Huang <hochi.huang@mediatek.com> Change-Id: I1bda15838da409d08f9ed0e8023b93023109cb2d (cherry picked from commit a9a3b5d93ee90c21619ddb6a606d24325109e914)
* [AU] Update volume setting and Audio Device API 3.0Hochi Huang2014-09-241-0/+17
| | | | | Change-Id: I772584ae05e6a8d2fdc8c4a52e44ad80c3c1a4a7 Signed-off-by: Hochi Huang <hochi.huang@mediatek.com>
* DO NOT MERGE - openOutputStreamWithFlags should be declared as abstract functionQiming Shi2014-09-081-1/+1
| | | | | | | Bug: 17416117. Change-Id: Ia9150944977560ea296c46ddf75da960d6a3e541 Signed-off-by: Qiming Shi <qiming.shi@intel.com>
* audio: fixed channel count determination from channel maskEric Laurent2014-07-011-2/+4
| | | | | | | Do not use popcount() to derive channel count from channel mask. Bug: 15000850. Change-Id: I5050ce7fd7884369eb0de37967e40052630006a9
* Audio: add an openOutputStreamWithFlags APIDavid Wagner2014-04-231-0/+7
| | | | | | | | | | | | | | | | The existing openOutputStream API did not allow passing stream flags even though its audio hardware interface's open_output_stream counterpart does take a "flags" argument. This means that, when the audio hw_module is implemented using libhardware_legacy, the output flag was lost. This commit adds an API in libhardware_legacy's audio module, allowing to pass the flag, and updates the default wrapper in order to call this new API instead of the old version that missed the flag. Change-Id: I20c102d32b489f87fabbd7d02aa0b28fae13948b Signed-off-by: David Wagner <david.wagner@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com>
* Merge commit '5b71e6f'Mike Lockwood2012-03-211-0/+7
|\ | | | | | | | | | | Add an implementation of get_next_write_timestamp. Change-Id: Ie8e19307bafdb057d06bf3c536380c5740f830a6
| * Add an implementation of get_next_write_timestamp.John Grossman2011-10-271-0/+7
| | | | | | | | | | | | | | | | | | | | Add a default implementation of get_next_write_timestamp to the C <--> C++ legacy audio HAL implementation allowing HALs using the legacy C++ AudioStreamOut to overload and implement get_next_write_timestamp. Default implementation returns INVALID_OPERATION to indicate that the functionality is not supported. Change-Id: I087347649e9ba186a74cb34aaadf989bf90720fe
* | Merge commit '617c80a'Mike Lockwood2012-03-211-0/+8
|\ \ | |/ | | | | | | | | | | | | | | Add a bridge implementation of get_master_volume. Conflicts: audio/audio_hw_hal.cpp Change-Id: Icff9d8dce05d1d811fca815cc39cb38a1df293f9
| * Add a bridge implementation of get_master_volume.John Grossman2011-10-271-0/+8
| | | | | | | | | | | | | | Add an implementation of the new get_master_volume method to bridge from the new C only audio HAL to the old C++ legacy audio HAL. Change-Id: I5c29814623b5141b0c69927ea60be9873c8a5dab
* | Fix typosGlenn Kasten2012-01-181-2/+3
|/ | | | Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691
* Audio HAL: added interface for audio preprocessingEric Laurent2011-07-111-0/+2
| | | | Change-Id: I0a84ddbff53f13662873f69d9be4dfa13ebcb8fe
* audio: update for audio/audio_policy header names/locationsDima Zavin2011-06-131-1/+1
| | | | | Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0 Signed-off-by: Dima Zavin <dima@android.com>
* update for new audio.h header locationDima Zavin2011-05-111-1/+1
| | | | | Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy: provide HAL helpers for legacy audio usersDima Zavin2011-04-271-3/+10
| | | | | | | | | | | | This doesn't actually create a HAL, but rather a set of helper static libraries that device specific libraries (i.e. the old libaudio pieces) can link against to create a proper audio HAL module. We provide an audio_policy static wrapper and audio hardware interface static wrapper. Change-Id: Ie56195447ad24b83888f752dca24674b0afd8a76 Signed-off-by: Dima Zavin <dima@android.com>
* Issue 2071329: audio track is shorter than video track for video capture on ↵Eric Laurent2010-02-261-0/+8
| | | | | | | | sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
* Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V syncEric Laurent2010-01-261-0/+4
| | | | | Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC.
* Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-171-41/+42
| | | | Initial commit for review.
* Add virtual destructor.Marco Nelissen2009-07-071-0/+2
|
* Remove deprecated version of openInputStream.Dave Sparks2009-05-191-13/+0
| | | | Continuation of bug 1846343
* Add input source parameter to openInputStream factory function.Dave Sparks2009-05-191-0/+14
| | | | | | | | This change lays the foundation for recording from different sources. A series of changes will follow that implement the factory function for the various hardware configurations. Finally, the deprecated function will be removed. Bug 1846343
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+240
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-240/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-1/+2
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-0/+239