History log of /system/core/include/system/audio.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9aec362e76a60725df1a444214f222297caf46a2 14-Apr-2012 Eric Laurent <elaurent@google.com> audio policy: add deep audio buffering flag.

Add a value in audio policy flags to indicate an output
stream providing deep audio PCM buffers. Such an output
helps reducing the power consumption at the expense of audio latency.

Stagefright will indicate a preference for such an output when playing music
only (no video) and the audio duration is more than a given threshold.

Change-Id: I0e6a9f5746a22d2bfea2b21dd182489a34a4b528
/system/core/include/system/audio.h
545ab46063f083239b29e59b8b491656d93f2a38 17-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for audio HAL device API.

Added definitions for output flags needed by new audio
HAL device API.

These flags where previously defined in audio_policy.h.
Definition in audio_policy.h remains temporarily until
all projects are changed to use new flags.

Change-Id: I371558c78050daae73942a36f51854372ab71068
/system/core/include/system/audio.h
79f90bdc7de561aa31888948c0661568ccc33da1 06-Apr-2012 Eric Laurent <elaurent@google.com> audio: added definitions for usb audio devices

Change-Id: I4a4f5919708a09f87974367961b1d09664ae6c06
/system/core/include/system/audio.h
b1108c85942f5cff22fbdaa9ed09c7b7d329da81 19-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "audio_channel_in/out_mask_from_count"
427d2b43c23c48aedadca008482f495145411e2b 06-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Fix switch indentation in audio_bytes_per_sample

Align "case" keyword with "switch" keyword.

Change-Id: I57ef96253fb1fc925315b557ea27ccc35f63c2f8
/system/core/include/system/audio.h
89f7ba3df8fc359023b494c2e625beed900bc706 14-Mar-2012 Glenn Kasten <gkasten@google.com> audio_channel_in/out_mask_from_count

Change-Id: I879d188cf64ea1dbfa1a0574dee77119c2b08e26
/system/core/include/system/audio.h
4ab051ab4613f2622dc3f3f0f57bb34d8a40a6a9 03-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Add function to derive a channel mask from a channel count

Change-Id: I22523ded9cd8e5283a285a9db21d819bbbc1b6c3
/system/core/include/system/audio.h
828bf0cdf4e869fa7bb007331670328c834f8277 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Change-Id: I7eb489b1c1cbe9bfadd43cd7645da86b90fab652
/system/core/include/system/audio.h
6d4f39754bff9c1dcb8023839ea583b6d0723b14 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4319552 Use commonly defined channel mask values in native

The native channel mask values are equal to the Java values, which
differ from other standards simply for legacy reasons. It is
preferrable to use commonly used values, and translate from the
Java constants to the common values when specifying a Java mask.
The new definitions uses the same values and ordering as in
OpenSL ES and other standards.

Change-Id: I879f64b281714c60684cd8b36fe6ae648a555121
/system/core/include/system/audio.h
33fad99acfaffb775ce0792b06ba97bb6cacce1a 25-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4211099 channel constants and 7.1 mask

Add definitions for the side and elevated channels.

Ccorrect definition of 7.1 mask which uses
the side channels rather than the front half-pan channels.

Change-Id: I5b6f601f6404d782dc46ef47efac9cc8441fef90
/system/core/include/system/audio.h
da382248758eacd9f91d6f0a50dff3f021791c24 17-Jun-2011 Eric Laurent <elaurent@google.com> Fixed some audio helper functions

Make sure audio_is_valid_format() is true only
for formats supported by AudioTrack and AudioRecord.
Generalized audio_is_linear_pcm().
Added audio_bytes_per_sample() function.

Change-Id: If588af6c08f09796ab04bccbbd6e720f1e914412
/system/core/include/system/audio.h
9714b27bb41d999cb61b22833d3f253552b3c82b 26-May-2011 Eric Laurent <elaurent@google.com> Added PCM formats to audio.h

Added formats for 32 bit PCM audio to allow direct use of
common audio formats defined in audio.h by audio effect
API defined in audio_effect.h

Change-Id: I5d58c2db8325ca625ab6d2b10cc0d422ba119ca5
/system/core/include/system/audio.h
e8e4be57aa45f621d231a40801a4dea877be09d5 12-May-2011 Dima Zavin <dima@android.com> move core audio definitions under system/core

Change-Id: I58b7324edff834b3afa4d9c86452e66f8c29c63b
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/include/system/audio.h