13091fe19a019b2613a149d63a0e13087973f40e |
|
08-Mar-2016 |
Glenn Kasten <gkasten@google.com> |
Use audio_session_t consistently Bug: 27562099 Change-Id: I608f72515b2aea93c784f0df15fe4af9859aebdf
/hardware/libhardware/include/hardware/audio_policy.h
|
73b8a7414afa5ee3f006468f287695d9c2054d76 |
|
22-May-2014 |
Eric Laurent <elaurent@google.com> |
audio: audio HAL extension for routing and volume control Added audio HAL functions to control audio routing and audio gain. Audio HALs above version 3.0 must implement these functions. These functions will be used by the framework instead of out_set_parameters("routing"=XXX) for device selection on an output or input stream. They will also allow direct connection of input devices to output devices as well as gain control on devices or streams. The gain or routing capabilities are exposed in audio_polciy.conf file. Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f
/hardware/libhardware/include/hardware/audio_policy.h
|
84d35492b145cebc000f8fd72818eb25b8e65c04 |
|
01-May-2014 |
Stewart Miles <smiles@google.com> |
Described restrictions for common HAL object methods. Inheritance of HAL object is performed by composing a child structure of a single parent structure located at offset 0 followed by new data members and function pointers in the child structure. For example, struct child { struct parent common; int a_data_member; void (*a_method)(struct child *c, int v); }; HAL code assumes this layout when accessing child structures given a pointer to a parent structure such that users write code like the following... void child_method(struct *parent, int v) { struct child * c = (struct child*)parent; // do stuff with c } Code above will break if a member is added before "common" in "struct child". This change adds comments that describe the restriction on the location of parent HAL objects within a derived HAL object. HAL objects that already have comments that describe the required location of parent objects are not modified. Change-Id: Ibe4300275286ef275b2097534c84f1029d761d87
/hardware/libhardware/include/hardware/audio_policy.h
|
3f56a10cc39a46a9d17e59b64f7f744feba9d8c1 |
|
03-Feb-2014 |
Glenn Kasten <gkasten@google.com> |
Rename setStreamOutput to invalidateStream And simplify by removing the unused I/O handle parameter 'output'. Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
/hardware/libhardware/include/hardware/audio_policy.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_policy.h
|
2661f346abc58ddc238b68ad7d1d0a29642dd8b3 |
|
05-Feb-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
Audio policy exposes stream remote activity Bug 7485803 Change-Id: Ib9ad2338d9e0c5f816de8d56d7b41c3771c0a8c3
/hardware/libhardware/include/hardware/audio_policy.h
|
20c7f50cd5d60ee7d76f2f502866187992e7675b |
|
10-Oct-2012 |
Jean-Michel Trivi <jmtrivi@google.com> |
Support querying active record sources Add support for querying whether there is currently a recording underway from the specified audio source. Bug 7314859 Change-Id: I270f27eff4dcf1cc179089859a4c690140825ad1
/hardware/libhardware/include/hardware/audio_policy.h
|
d72e51705664ed13b26c32f8026c4ac1424ca9a6 |
|
26-Jul-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Add comment"
|
e57a2d2ec601c54852a1cf55c11186bbf5c6c8f5 |
|
22-Jun-2012 |
Glenn Kasten <gkasten@google.com> |
Add comment Change-Id: Idc2890ebc10c0e6a116bc7c8872cd379e1cf3e25
/hardware/libhardware/include/hardware/audio_policy.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_policy.h
|
a635449697a2df5de98e72cfc24e926b641d5544 |
|
19-Jun-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_channel_mask_t consistently Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
/hardware/libhardware/include/hardware/audio_policy.h
|
da4b0b26d170971448fdb04817b308900b5a6dd8 |
|
18-Apr-2012 |
Eric Laurent <elaurent@google.com> |
rename audio policy output flags. Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
/hardware/libhardware/include/hardware/audio_policy.h
|
c65a2fe3925f46b4d4301cef97b308dbc3e22da9 |
|
28-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio policy: load audio hw modules. Added methods to audio_policy_service_ops to load an audio hw module. Added methods to open an output or input stream on a particualr module. Change-Id: Ia0618053bec9978c1b7d2a5f6c02b78209557256
/hardware/libhardware/include/hardware/audio_policy.h
|
0cacd8d44b3f6ff6ec947bb6b2db1e382ee73bdb |
|
10-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Update comments Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
/hardware/libhardware/include/hardware/audio_policy.h
|
83c62ce4e319a11d14a27c6368811f9efc1e8c5a |
|
08-Mar-2012 |
Eric Laurent <elaurent@google.com> |
audio policy: use audio_devices_t when appropriate Change-Id: Iee57cf5c3bdfefd981e1ed5958df10171f8716e6
/hardware/libhardware/include/hardware/audio_policy.h
|
2be4db4a95a8d586984624f20f55705f5f0f1ae3 |
|
03-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Use audio_in_acoustics_t consistently"
|
114c2fd2d3d953763edb4372324c993bd66cbe91 |
|
27-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_in_acoustics_t consistently Change-Id: Id49ad9631092db8c9ace0f45db918f708b0b32e9
/hardware/libhardware/include/hardware/audio_policy.h
|
ae2e42b2447d011bd6cf9d5b4413dd3557de0035 |
|
27-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_source_t consistently Change-Id: Ie25ddeb091646b7e24149b3b23a18ce0807e1891
/hardware/libhardware/include/hardware/audio_policy.h
|
ea84c55f2ce47e54fc0e73f69f3e283e2e9afe59 |
|
20-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "Use audio_format_t consistently"
|
080a80212b6ec954fe8a424d9fb286c5cf1d5021 |
|
19-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Audio policy HAL set_ringer_mode is deprecated Change-Id: If0f82d5c1cb9a0faf70f5a8434f68cdc39784ee6
/hardware/libhardware/include/hardware/audio_policy.h
|
d4cf73b3628f8802400f0de18e02913276960cca |
|
18-Jan-2012 |
Eric Laurent <elaurent@google.com> |
Merge "audio policy: manage stream volume per device"
|
fad1f606a2a67ed15ea5ef0368cb3eb94756baae |
|
17-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Merge "set_mode and set_phone_state now take audio_mode_t"
|
ca20b17b419eec2b196877be38f9c4290449aeac |
|
10-Dec-2011 |
Eric Laurent <elaurent@google.com> |
audio policy: manage stream volume per device 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
/hardware/libhardware/include/hardware/audio_policy.h
|
5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851 |
|
12-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Use audio_stream_type_t consistently Change-Id: I1e92f018a07e4b1b73ef8d4de461ef1e08bc48e7
/hardware/libhardware/include/hardware/audio_policy.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_policy.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_policy.h
|
78d2c69af4ab35ac6ae8e78fc3a61e7023a60769 |
|
11-Aug-2011 |
Eric Laurent <elaurent@google.com> |
audio policy: register effect CPU on enable 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
/hardware/libhardware/include/hardware/audio_policy.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_policy.h
|
1199865d0cb68750e2b959cb3ed04e1bc0f1c9d1 |
|
14-Jun-2011 |
Dima Zavin <dima@android.com> |
hardware: move audio_policy.h to system/ Change-Id: I392c5f91db88ca923dead7202064169edc1cc0c7 Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/audio_policy.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_policy.h
|