History log of /hardware/libhardware/include/hardware/audio.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
22a06b752f7c350f8d8eaec029c9df69d708126f 10-Sep-2013 Glenn Kasten <gkasten@google.com> Clarify return values of get_presentation_position

Change-Id: I495d7abd7e366849308c66bcaee99554dcd244aa
/hardware/libhardware/include/hardware/audio.h
e25f9ed3469859ba0b94585549097b8b82dca8b4 23-Aug-2013 Glenn Kasten <gkasten@google.com> get_presentation_position

Change-Id: Iedc4df9018321d7273eaa862e913ad6d9a844618
/hardware/libhardware/include/hardware/audio.h
f37f187bbac1fd7bf884eb3ea5c47aa78cb68cdc 25-Mar-2013 Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Add defines and support for audio offload

- Add non-blocking write support, set_callback() function
- Add pause, resume, flush, drain functions to audio output stream
- Add audio parameter defines for compressed audio metadata
- Extend audio_config_t to include an audio_offload_info_t field
- Add is_offload_supported() function to test whether there is
hardware decode support for a given compressed audio format
- Change audio_stream_frame_size() to handle offloaded streams.
For an offloaded stream the size is always counted in bytes
(frame size == 1) and the number of channels is irrelevant.

Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
/hardware/libhardware/include/hardware/audio.h
85e08e26258711f2fd672d9a920d88bf91410f6b 28-Aug-2012 Eric Laurent <elaurent@google.com> audio: new audio devices enums

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
/hardware/libhardware/include/hardware/audio.h
88b79cb001d1c733275c7cad490c32b143f78860 16-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Add audio module for remote submix

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
/hardware/libhardware/include/hardware/audio.h
47bf3d7ea5f6c98e615e0a1f93497d241c79cc05 17-Jul-2012 John Grossman <johngro@google.com> Extend the audio HAL interface to support get/set master mute

(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>
/hardware/libhardware/include/hardware/audio.h
48915acb392773c1fcb86e2711eab468410a0baa 20-Feb-2012 Glenn Kasten <gkasten@google.com> struct effect_descriptor_s const correctness

Also struct audio_stream in audio_stream_frame_size

Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
/hardware/libhardware/include/hardware/audio.h
34afb68c0cd1de315f0250f6a95b9dba234133ae 08-Jun-2012 Glenn Kasten <gkasten@google.com> Add screen state parameter

Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
/hardware/libhardware/include/hardware/audio.h
41eeb4fe9f0a043dc207111893dbea26827217a6 18-May-2012 Eric Laurent <elaurent@google.com> audio HAL: add definitions for capabilities query

Added definitions for querying supported channel masks, sampling rates and
format with out_get_parameters().

Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
/hardware/libhardware/include/hardware/audio.h
55786bcf3ced97dea8fa7ce79df2889d4d06e8a7 11-Apr-2012 Eric Laurent <elaurent@google.com> audio: updated audio HAL device API

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
/hardware/libhardware/include/hardware/audio.h
b934784bbef12856eb7c825b3b8dc10418eca8c4 04-Apr-2012 Eric Laurent <elaurent@google.com> Merge "audio: added definitions for audio HAL modules"
431fc78c112646f43d6d6f51b06d45d248d2f317 03-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for audio HAL modules

Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
/hardware/libhardware/include/hardware/audio.h
0cacd8d44b3f6ff6ec947bb6b2db1e382ee73bdb 10-Feb-2012 Glenn Kasten <gkasten@google.com> Update comments

Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
/hardware/libhardware/include/hardware/audio.h
a70c5d0cafe1ef9e4531627d3d009e80b9a8eec4 08-Mar-2012 Eric Laurent <elaurent@google.com> audio HAL : added string for A2DP address

Added a definition for A2DP sink address parameter.
It was previously defined at several places.

Change-Id: I757208e99db395f3d88c17e0de5ae303c71a85ec
/hardware/libhardware/include/hardware/audio.h
5ad38a901dcca2961f3ed35ae0b206c13bc515cd 15-Aug-2011 Mike J. Chen <mjchen@google.com> Modifications to audio_hal for Android@Home.

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
/hardware/libhardware/include/hardware/audio.h
ea84c55f2ce47e54fc0e73f69f3e283e2e9afe59 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_format_t consistently"
fad1f606a2a67ed15ea5ef0368cb3eb94756baae 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "set_mode and set_phone_state now take audio_mode_t"
a26cbac8a0f71ba59a89e250caaa1155f0179751 13-Jan-2012 Glenn Kasten <gkasten@google.com> Use size_t for frame size

Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
/hardware/libhardware/include/hardware/audio.h
fe79eb3f06967f863a637e546eb4421d0da2283b 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Was sometimes int or uint32_t

Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
/hardware/libhardware/include/hardware/audio.h
6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7 09-Jan-2012 Glenn Kasten <gkasten@google.com> set_mode and set_phone_state now take audio_mode_t

Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
/hardware/libhardware/include/hardware/audio.h
af320d75002466b3c26eb5e3fa98102cf395ee49 20-Dec-2011 Glenn Kasten <gkasten@google.com> Add comment about actual type of set_mode

Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
/hardware/libhardware/include/hardware/audio.h
70e8110fcf2c35d1ac67f0eb4a2702014a16719b 07-Aug-2011 Eric Laurent <elaurent@google.com> audio HAL: add support for TTY mode selection

Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
/hardware/libhardware/include/hardware/audio.h
ed9928c76d107d02452a25a0d62803197c47f673 03-Aug-2011 Eric Laurent <elaurent@google.com> audio HAL: add defines for BT NREC parameter

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
/hardware/libhardware/include/hardware/audio.h
f3008aa707c1c302e8c8f9c8b759f170d972ddce 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio HAL: added interface for audio preprocessing

Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
/hardware/libhardware/include/hardware/audio.h
3bc15860a9d8eea076dc19128373631bf1e162ca 14-Jun-2011 Dima Zavin <dima@android.com> hardware: drop the _hal suffixes from audio.h and audio_policy.h

Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/audio.h
aa21172bcd4c332eec78d34ffdafd8cc0178ea95 11-May-2011 Dima Zavin <dima@android.com> audio: move audio.h to system/core/include/system/audio.h

Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/audio.h
f1504dbca386fc454b8ded7669012f3d4d27eab7 11-Mar-2011 Dima Zavin <dima@android.com> libhardware: add audio defines and HAL headers

Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/audio.h