From 982371ec6aebb5459d2465036aa86dbb816e5640 Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Mon, 16 Feb 2009 21:52:32 +0000 Subject: 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 --- media/audio/audio_output.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'media') 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. -- cgit v1.1