| Index: media/audio/win/audio_manager_win.h
|
| diff --git a/media/audio/win/audio_manager_win.h b/media/audio/win/audio_manager_win.h
|
| index df6ab1028fb2413f198f559e7093f96148fcd976..21a40141606324f1a0664a08e1b41d6f7f5ec46a 100644
|
| --- a/media/audio/win/audio_manager_win.h
|
| +++ b/media/audio/win/audio_manager_win.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -10,6 +10,7 @@
|
| #include "base/basictypes.h"
|
| #include "media/audio/audio_io.h"
|
|
|
| +class PCMWaveInAudioInputStream;
|
| class PCMWaveOutAudioOutputStream;
|
|
|
| // Windows implementation of the AudioManager singleton. This class is internal
|
| @@ -20,9 +21,14 @@ class AudioManagerWin : public AudioManager {
|
| AudioManagerWin() {}
|
| // Implementation of AudioManager.
|
| virtual bool HasAudioOutputDevices();
|
| + virtual bool HasAudioInputDevices();
|
| virtual AudioOutputStream* MakeAudioOutputStream(Format format, int channels,
|
| int sample_rate,
|
| char bits_per_sample);
|
| + virtual AudioInputStream* MakeAudioInputStream(Format format, int channels,
|
| + int sample_rate,
|
| + char bits_per_sample,
|
| + uint32 samples_per_packet);
|
| virtual void MuteAll();
|
| virtual void UnMuteAll();
|
|
|
| @@ -30,6 +36,9 @@ class AudioManagerWin : public AudioManager {
|
| // are called internally by the audio stream when it has been closed.
|
| void ReleaseOutputStream(PCMWaveOutAudioOutputStream* stream);
|
|
|
| + // Called internally by the audio stream when it has been closed.
|
| + void ReleaseInputStream(PCMWaveInAudioInputStream* stream);
|
| +
|
| private:
|
| friend void DestroyAudioManagerWin(void *);
|
| virtual ~AudioManagerWin();
|
|
|