diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-16 21:52:32 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-16 21:52:32 +0000 |
commit | 982371ec6aebb5459d2465036aa86dbb816e5640 (patch) | |
tree | 26ba69593f05003b5089d530c6252850ee3cd1ab /media | |
parent | 042d08ff105ee01ec455eaa3a561d523fcf959dd (diff) | |
download | chromium_src-982371ec6aebb5459d2465036aa86dbb816e5640.zip chromium_src-982371ec6aebb5459d2465036aa86dbb816e5640.tar.gz chromium_src-982371ec6aebb5459d2465036aa86dbb816e5640.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@9864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/audio/audio_output.h | 8 |
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. |