diff options
Diffstat (limited to 'media/audio/audio_output.h')
-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. |