summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio.h
Commit message (Collapse)AuthorAgeFilesLines
* libhardware: Enable broadcast stream for audio hardware withmaclaw2013-07-021-1/+1
| | | | | | SAMSUNG_STE Change-Id: Iaf3b58fdb6c888c1098ae8359a9c27efa7f81940
* audio: Subsystem Restart ChangesRavishankar Sarawadi2013-02-271-0/+3
| | | | | | | Add new audio parameter to indicate ADSP status during subsystem restart. Change-Id: Ic7496aa7181436c952232f617819a0e89820af43
* Revert "Change-Id: Ie2dcf87494c71d6da9493eddad8fe0a59ac5f0f9"Steve Kondik2012-12-221-4/+0
| | | | This reverts commit 1966e40a05a795cdfdfa6160468cdcb8e46dd619.
* audio: add support for VOIPMingming Yin2012-12-201-13/+6
| | | | Change-Id: I5dbddd245c0b20b15505dabd65c5f6d3084115cd
* Change-Id: Ie2dcf87494c71d6da9493eddad8fe0a59ac5f0f9Shareef Ali2012-11-281-0/+4
| | | | libhardware-qcom: disable a set of qcom api that don't exist
* Extend ICS_AUDIO_BLOB back-compat to the 4.2 APIRicardo Cerqueira2012-11-231-0/+6
| | | | Change-Id: Id58a2eb715c86f6c022e0ef625ce498661d7d29c
* Merge branch 'jb-mr1-release' of ↵Steve Kondik2012-11-181-3/+26
|\ | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/hardware/libhardware into HEAD Conflicts: include/hardware/fb.h include/hardware/hwcomposer.h modules/audio/audio_hw.c Change-Id: Ib37d49cb600bf0cd062847f9c0eb3841bae13f74
| * audio: new audio devices enumsEric Laurent2012-09-071-1/+8
| | | | | | | | | | | | | | | | | | | | 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
| * Add audio module for remote submixJean-Michel Trivi2012-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | New definitions of audio devices for remote submix: one representing a sink for writing the audio buffers that won't be played directly locally, another representing the audio source that can be read from to obtain the audio mix. New audio hardware module encapsulating the submix loop functionality. Create a Pipe to serve as non-blocking audio ring buffer between the output device (the sink) and the input device (the source). Change-Id: I527f4721a69ced0430a99ebba3b4db7d419f2bb2
| * Extend the audio HAL interface to support get/set master muteJohn Grossman2012-08-071-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-1/+1
| | | | | | | | | | | | Also struct audio_stream in audio_stream_frame_size Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
* | libhardware: Add new APIs to support effects with DirectTrackTejas Shikhare2012-09-241-0/+23
| | | | | | | | Change-Id: I4d931bfafae58410e73ea3164fc6c879057b1f88
* | libhardware:Fix for memory leak by get_parameters callVidyakumar Athota2012-09-241-1/+6
| | | | | | | | | | | | | | | | | | | | - get_parameters call uses strdup which allocate memory for string. Its caller function responsibility to free the memory which is not happened now - Fix: free the memory created by get_parameters call Change-Id: I15423f451e7bf817a7bcf755c0115d2e53ba7947 CRS-Fixed: 397789
* | hardware/libhardware: Added string for handle a2dp devicePreetam Singh Ranawat2012-09-111-0/+2
| | | | | | | | Change-Id: I6fd7a360507014ddc2014b0863795688b9504ff0
* | audio: fix when using ICS audio blobsAdam Farden2012-09-061-2/+0
| | | | | | | | Change-Id: I6b1884e75f66f84934d1b8dc381e7af82447cd5d
* | libhardware: Load the MPQ HAL for the MPQ8064 targetAviral Gupta2012-09-041-1/+58
| | | | | | | | | | | | Include the broadcast stream structure. Change-Id: I00996dfb74bd468f8bda8573e95217ec8ed4ad46
* | libhardware: Add APIs to support DirectTrack in HALTejas Shikhare2012-08-171-1/+41
| | | | | | | | | | | | | | Add APIs in HAL which can be used for Direct outputs like Tunnel and LPA. Change-Id: Id7b93b20746eeebc29270d630c8cf4e9c2b13332
* | audio: Squashed set of commits for QCOM audio featuresShashi Kumar2012-08-171-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | audio HAL: Added AMR and EVRC/QCELP formats for tunnel mode recording Change-Id: Ibaf1811b51e375394521d717087b49a22a67bda3 libhardware: Add support for surround sound recording - Add 5.1 channel maski - Add 5.1 SSR audio parameter Change-Id: Ifc04d554f74f88c42d3eae9f37caaa849e0dae8d audio: VOIP bringup and support for vocoders Change-Id: I647d9e8d44bb24d36a5acdbea88f84da24ddc038 Define FM, VOIP, and fluence audio parameters Change-Id: I6bc183f87d412d413859343f343a9239d6beb9ef
* | hardware: To enable FM add set volume functionsShashi Kumar2012-08-101-0/+5
| | | | | | | | Change-Id: Ic2c8c02d805e269060e87edf161e75c160d944c0
* | hardware/libhardware: Add APIs to support ICS LPA sessionTejas Shikhare2012-07-251-0/+7
| | | | | | | | Change-Id: I0558cafacb25bfffefdfb1bd2afbf2a90f075a08
* | Add support for ICS audio blobsRicardo Cerqueira2012-07-201-0/+24
|/ | | | Change-Id: I516dda5fc81bd10922c13cc735509a6803eddaaf
* Add screen state parameterGlenn Kasten2012-06-081-0/+3
| | | | Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
* audio HAL: add definitions for capabilities queryEric Laurent2012-06-041-0/+10
| | | | | | | Added definitions for querying supported channel masks, sampling rates and format with out_get_parameters(). Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
* audio: updated audio HAL device APIEric Laurent2012-04-171-13/+38
| | | | | | | | 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
* Merge "audio: added definitions for audio HAL modules"Eric Laurent2012-04-031-0/+11
|\
| * audio: added definitions for audio HAL modulesEric Laurent2012-04-031-0/+11
| | | | | | | | Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
* | Update commentsGlenn Kasten2012-04-011-17/+35
|/ | | | Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
* audio HAL : added string for A2DP addressEric Laurent2012-03-071-0/+3
| | | | | | | Added a definition for A2DP sink address parameter. It was previously defined at several places. Change-Id: I757208e99db395f3d88c17e0de5ae303c71a85ec
* Modifications to audio_hal for Android@Home.Mike J. Chen2012-02-101-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+5
|\
| * Use audio_format_t consistentlyGlenn Kasten2012-01-121-5/+5
| | | | | | | | | | | | Was sometimes int or uint32_t Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
* | Merge "set_mode and set_phone_state now take audio_mode_t"Glenn Kasten2012-01-171-3/+2
|\ \
| * | set_mode and set_phone_state now take audio_mode_tGlenn Kasten2012-01-121-3/+2
| |/ | | | | | | Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
* | Use size_t for frame sizeGlenn Kasten2012-01-131-2/+2
|/ | | | Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
* Add comment about actual type of set_modeGlenn Kasten2012-01-051-0/+1
| | | | Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
* audio HAL: add support for TTY mode selectionEric Laurent2011-08-071-1/+21
| | | | Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
* audio HAL: add defines for BT NREC parameterEric Laurent2011-08-021-0/+5
| | | | | | | Added definitions of keys and values used to enable or disable AEC and NS via set_parameters according to BT headset capabilities. Change-Id: Id3fba06edfe77e2832b8256c0c4c46eeef17b816
* Audio HAL: added interface for audio preprocessingEric Laurent2011-07-081-0/+5
| | | | Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
* hardware: drop the _hal suffixes from audio.h and audio_policy.hDima Zavin2011-06-131-0/+313
| | | | | 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-393/+0
| | | | | Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0 Signed-off-by: Dima Zavin <dima@android.com>
* libhardware: add audio defines and HAL headersDima Zavin2011-04-271-0/+393
Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101 Signed-off-by: Dima Zavin <dima@android.com>