| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Add audio parameter key for device connect.
Bug: 17785277
Bug: 19214836
Change-Id: Icd81702634e0bd83645d89c2d65e2b303fc11f8c
(cherry picked from commit 55c07c3418a3bc19a72c4935d8ed57a57074c49a)
|
|
|
|
|
|
|
|
|
|
|
| |
The HW A/V sync ID is retrieved from the HAL by calling
global get_parameters() with key AUDIO_PARAMETER_HW_AV_SYNC.
After the output stream is opened, the HW A/V sync ID is communicated
by stream set_parameters() with key AUDIO_PARAMETER_STREAM_HW_AV_SYNC.
Bug: 17112525.
Change-Id: Id1e3a3aa1e88d15461a609b381ca8c1902735a29
|
|
|
|
|
|
| |
Bug 17136569
Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
|
|
|
|
|
| |
Bug: 16132368.
Change-Id: Id76ce254b73ea11316cc684399de8d9c520c9b9b
|
|
|
|
| |
Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e
|
|
|
|
|
|
|
|
| |
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug: 14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
|
|
|
|
| |
Change-Id: I3519bfa45809e064d19473ebe6489c5249d306a8
|
|
|
|
|
| |
Bug: 15000850.
Change-Id: I7813e99a0b7ce613cc3b7d7c95be0525cb2d6c81
|
|
|
|
| |
Change-Id: I6eedc25ed16be82a7a875d13774f31a47f0f9443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add a definition for the minimum audio HAL version supported
by the audio framework.
Change-Id: Id7df440cc9fcc23b27b61c81bacb569599a20c13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ib2cfef74a57467cb01b5e0c44af335f53791e348
|
|
|
|
| |
Change-Id: I495d7abd7e366849308c66bcaee99554dcd244aa
|
|
|
|
| |
Change-Id: Iedc4df9018321d7273eaa862e913ad6d9a844618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
| |
Also struct audio_stream in audio_stream_frame_size
Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
|
|
|
|
| |
Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
|
|
|
|
|
|
|
| |
Added definitions for querying supported channel masks, sampling rates and
format with out_get_parameters().
Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
|
|/
|
|
| |
Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
|
|
|
|
|
|
|
| |
Added a definition for A2DP sink address parameter.
It was previously defined at several places.
Change-Id: I757208e99db395f3d88c17e0de5ae303c71a85ec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Was sometimes int or uint32_t
Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
|
|/
|
|
| |
Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
|
|
|
|
| |
Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
|
|
|
|
| |
Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
|
|
|
|
|
| |
Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc
Signed-off-by: Dima Zavin <dima@android.com>
|
|
|
|
|
| |
Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0
Signed-off-by: Dima Zavin <dima@android.com>
|
|
Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101
Signed-off-by: Dima Zavin <dima@android.com>
|