diff options
Diffstat (limited to 'www/chromium-uc/files/audio_manager_openbsd.h')
| -rw-r--r-- | www/chromium-uc/files/audio_manager_openbsd.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/www/chromium-uc/files/audio_manager_openbsd.h b/www/chromium-uc/files/audio_manager_openbsd.h deleted file mode 100644 index 8c99db9..0000000 --- a/www/chromium-uc/files/audio_manager_openbsd.h +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
| 2 | // Use of this source code is governed by a BSD-style license that can be | ||
| 3 | // found in the LICENSE file. | ||
| 4 | |||
| 5 | #ifndef MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | ||
| 6 | #define MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | ||
| 7 | |||
| 8 | #include <set> | ||
| 9 | |||
| 10 | #include "base/compiler_specific.h" | ||
| 11 | #include "base/macros.h" | ||
| 12 | #include "base/memory/ref_counted.h" | ||
| 13 | #include "base/threading/thread.h" | ||
| 14 | #include "media/audio/audio_manager_base.h" | ||
| 15 | |||
| 16 | namespace media { | ||
| 17 | |||
| 18 | class MEDIA_EXPORT AudioManagerOpenBSD : public AudioManagerBase { | ||
| 19 | public: | ||
| 20 | AudioManagerOpenBSD(std::unique_ptr<AudioThread> audio_thread, | ||
| 21 | AudioLogFactory* audio_log_factory); | ||
| 22 | ~AudioManagerOpenBSD() override; | ||
| 23 | |||
| 24 | // Implementation of AudioManager. | ||
| 25 | bool HasAudioOutputDevices() override; | ||
| 26 | bool HasAudioInputDevices() override; | ||
| 27 | void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; | ||
| 28 | void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; | ||
| 29 | AudioParameters GetInputStreamParameters( | ||
| 30 | const std::string& device_id) override; | ||
| 31 | const char* GetName() override; | ||
| 32 | |||
| 33 | // Implementation of AudioManagerBase. | ||
| 34 | AudioOutputStream* MakeLinearOutputStream( | ||
| 35 | const AudioParameters& params, | ||
| 36 | const LogCallback& log_callback) override; | ||
| 37 | AudioOutputStream* MakeLowLatencyOutputStream( | ||
| 38 | const AudioParameters& params, | ||
| 39 | const std::string& device_id, | ||
| 40 | const LogCallback& log_callback) override; | ||
| 41 | AudioInputStream* MakeLinearInputStream( | ||
| 42 | const AudioParameters& params, | ||
| 43 | const std::string& device_id, | ||
| 44 | const LogCallback& log_callback) override; | ||
| 45 | AudioInputStream* MakeLowLatencyInputStream( | ||
| 46 | const AudioParameters& params, | ||
| 47 | const std::string& device_id, | ||
| 48 | const LogCallback& log_callback) override; | ||
| 49 | |||
| 50 | protected: | ||
| 51 | AudioParameters GetPreferredOutputStreamParameters( | ||
| 52 | const std::string& output_device_id, | ||
| 53 | const AudioParameters& input_params) override; | ||
| 54 | |||
| 55 | private: | ||
| 56 | // Called by MakeLinearOutputStream and MakeLowLatencyOutputStream. | ||
| 57 | AudioOutputStream* MakeOutputStream(const AudioParameters& params); | ||
| 58 | AudioInputStream* MakeInputStream(const AudioParameters& params); | ||
| 59 | |||
| 60 | DISALLOW_COPY_AND_ASSIGN(AudioManagerOpenBSD); | ||
| 61 | }; | ||
| 62 | |||
| 63 | } // namespace media | ||
| 64 | |||
| 65 | #endif // MEDIA_AUDIO_OPENBSD_AUDIO_MANAGER_OPENBSD_H_ | ||
