History log of /frameworks/base/core/jni/android_media_AudioFormat.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ff0d9f098e51c54e1a030ed21fd980680cb7b405 10-Jun-2014 Eric Laurent <elaurent@google.com> AudioTrack: Add support for compressed audio

Add AudioFormat encoding definitions for compressed audio
and modify AudioTrack to accept compressed audio data.

Bug: 9428304.

Change-Id: Ib85a4d0d78af45924328f4d2d2ffebe83f4a00c5
/frameworks/base/core/jni/android_media_AudioFormat.h
b69681c894c663e84f2826d9b0c832ceb9b45047 20-May-2014 Eric Laurent <elaurent@google.com> AudioSystem: added JNI for routing extensions

Bug: 14815883.

Change-Id: Ia0c0d14a8e3051a4bc0ce502b6e979135b170c97
/frameworks/base/core/jni/android_media_AudioFormat.h
313f59887b1439fa2f39dbf3578407c52fcbf60d 01-May-2014 Glenn Kasten <gkasten@google.com> Add AudioFormat.ENCODING_PCM_FLOAT

Change-Id: I030d2c74224ac8573a4d30d980ae94fa4e280aeb
/frameworks/base/core/jni/android_media_AudioFormat.h
fe834d30f4f3f51b754d55fecb36f11279733948 08-Jan-2014 Glenn Kasten <gkasten@google.com> Prepare for additional formats beyond 8-bit and 16-bit PCM

This CL does the same thing for AudioTrack,
that an earlier CL did for AudioRecord:
> Change-Id: Ic3525f049e939bdf125d9f87ed39abd2690dcf9f

Pull out the common parts of that earlier CL and move them to new header
file android_media_AudioFormat.h.

Use the new function audioFormatToNative() to convert from Java
ENCODING_PCM_* to native AUDIO_FORMAT_*.

Use audio_bytes_per_sample() instead of hard-coding the size of various formats.

Use size_t for memory sizes.

Change-Id: I7992dd6a2c9500126a6d7ae5fc1ed9f3312962d6
/frameworks/base/core/jni/android_media_AudioFormat.h