summaryrefslogtreecommitdiffstats
path: root/media/audio
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 20:32:41 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-16 20:32:41 +0000
commit6be3ef5995c3d46a73c0d4a13091c56972c821ab (patch)
tree9e0b687b2fa958928a5d697b0aca688e482c7d3a /media/audio
parent7a7835f529ae65cba8f96e2f51fbc2edda2c1f4a (diff)
downloadchromium_src-6be3ef5995c3d46a73c0d4a13091c56972c821ab.zip
chromium_src-6be3ef5995c3d46a73c0d4a13091c56972c821ab.tar.gz
chromium_src-6be3ef5995c3d46a73c0d4a13091c56972c821ab.tar.bz2
IPC messages definitions for audio related requests from
renderer to browser. Defined IPC messages that maps to methods exposed by AudioRendererHost that serves audio related requests. Also with handlers in ResourceMessageFilter for the newly added IPC messages. Review URL: http://codereview.chromium.org/21340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r--media/audio/audio_output.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/media/audio/audio_output.h b/media/audio/audio_output.h
index 7d82500..12ef3d99 100644
--- a/media/audio/audio_output.h
+++ b/media/audio/audio_output.h
@@ -104,9 +104,11 @@ class AudioOutputStream {
class AudioManager {
public:
enum Format {
- AUDIO_PCM_LINEAR, // Pulse code modulation means 'raw' amplitude samples.
- AUDIO_PCM_DELTA, // Delta-encoded pulse code modulation.
- AUDIO_MOCK // Creates a dummy AudioOutputStream object.
+ AUDIO_PCM_LINEAR = 0, // Pulse code modulation means 'raw' amplitude
+ // samples.
+ AUDIO_PCM_DELTA, // Delta-encoded pulse code modulation.
+ AUDIO_MOCK, // Creates a dummy AudioOutputStream object.
+ AUDIO_LAST_FORMAT // Only used for validation of format.
};
// Telephone quality sample rate, mostly for speech-only audio.