summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMingming Yin <mingming@codeaurora.org>2015-08-14 10:43:05 -0700
committerSatish Kamuju <skamuj@codeaurora.org>2015-10-06 17:34:34 +0530
commit61f6cfa961d22a9a54d91366fefec135f091012d (patch)
tree221d2afd5dde2a52bfa984bf0961a95d254cfeb8 /include
parentae614d22fd87feb1857e8041978ab2c38cfaa16e (diff)
downloadframeworks_av-61f6cfa961d22a9a54d91366fefec135f091012d.zip
frameworks_av-61f6cfa961d22a9a54d91366fefec135f091012d.tar.gz
frameworks_av-61f6cfa961d22a9a54d91366fefec135f091012d.tar.bz2
audio: add support for extended audio encoding
- add support for EVRC, QCELP, and LPCM encoding. Change-Id: I2f93a88ed5c9bd502399ef145a5802d1a15fcc45
Diffstat (limited to 'include')
-rw-r--r--include/media/mediarecorder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h
index a4dd82d..b74f888 100644
--- a/include/media/mediarecorder.h
+++ b/include/media/mediarecorder.h
@@ -74,6 +74,9 @@ enum output_format {
/* VP8/VORBIS data in a WEBM container */
OUTPUT_FORMAT_WEBM = 9,
+ OUTPUT_FORMAT_QCP = 20,
+ OUTPUT_FORMAT_WAVE = 21,
+
OUTPUT_FORMAT_LIST_END // must be last - used to validate format type
};
@@ -86,6 +89,10 @@ enum audio_encoder {
AUDIO_ENCODER_AAC_ELD = 5,
AUDIO_ENCODER_VORBIS = 6,
+ AUDIO_ENCODER_EVRC = 10,
+ AUDIO_ENCODER_QCELP = 11,
+ AUDIO_ENCODER_LPCM = 12,
+
AUDIO_ENCODER_LIST_END // must be the last - used to validate the audio encoder type
};