Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1011)

Unified Diff: media/base/sample_format.h

Issue 1422113002: Enable pcm_s32le audio decoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: DEPS roll Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/audio_buffer_unittest.cc ('k') | media/base/sample_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/sample_format.h
diff --git a/media/base/sample_format.h b/media/base/sample_format.h
index 7a488433ab8925726b3a6a15cad85b1cb788e6ee..12ebeb8a1ebe48e62d4a7d93738f79035f4363c3 100644
--- a/media/base/sample_format.h
+++ b/media/base/sample_format.h
@@ -22,9 +22,10 @@ enum SampleFormat {
kSampleFormatPlanarS16, // Signed 16-bit planar.
kSampleFormatPlanarF32, // Float 32-bit planar.
kSampleFormatPlanarS32, // Signed 32-bit planar.
+ kSampleFormatS24, // Signed 24-bit.
// Must always be equal to largest value ever logged.
- kSampleFormatMax = kSampleFormatPlanarS32,
+ kSampleFormatMax = kSampleFormatS24,
};
// Returns the number of bytes used per channel for the specified
« no previous file with comments | « media/base/audio_buffer_unittest.cc ('k') | media/base/sample_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698