From 313f59887b1439fa2f39dbf3578407c52fcbf60d Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Wed, 30 Apr 2014 18:02:08 -0700 Subject: Add AudioFormat.ENCODING_PCM_FLOAT Change-Id: I030d2c74224ac8573a4d30d980ae94fa4e280aeb --- media/java/android/media/AudioFormat.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'media/java') diff --git a/media/java/android/media/AudioFormat.java b/media/java/android/media/AudioFormat.java index 6b524b5..6b2a247 100644 --- a/media/java/android/media/AudioFormat.java +++ b/media/java/android/media/AudioFormat.java @@ -32,11 +32,13 @@ public class AudioFormat { /** Default audio data format */ public static final int ENCODING_DEFAULT = 1; - // These two values must be kept in sync with core/jni/android_media_AudioFormat.h + // These values must be kept in sync with core/jni/android_media_AudioFormat.h /** Audio data format: PCM 16 bit per sample. Guaranteed to be supported by devices. */ public static final int ENCODING_PCM_16BIT = 2; /** Audio data format: PCM 8 bit per sample. Not guaranteed to be supported by devices. */ public static final int ENCODING_PCM_8BIT = 3; + /** @hide Candidate for public API */ + public static final int ENCODING_PCM_FLOAT = 4; /** Invalid audio channel configuration */ /** @deprecated use CHANNEL_INVALID instead */ -- cgit v1.1