Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Unified Diff: media/audio/mac/aggregate_device_manager.h

Issue 163343002: Reland 153623004: Remove the unified IO code on the browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the cras bot Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/fake_audio_manager.cc ('k') | media/audio/mac/aggregate_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/aggregate_device_manager.h
diff --git a/media/audio/mac/aggregate_device_manager.h b/media/audio/mac/aggregate_device_manager.h
deleted file mode 100644
index 7b8b71ff655bea76dc93d779460447c58fd23682..0000000000000000000000000000000000000000
--- a/media/audio/mac/aggregate_device_manager.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef MEDIA_AUDIO_MAC_AGGREGATE_DEVICE_MANAGER_H_
-#define MEDIA_AUDIO_MAC_AGGREGATE_DEVICE_MANAGER_H_
-
-#include <CoreAudio/CoreAudio.h>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "media/base/media_export.h"
-
-namespace media {
-
-class MEDIA_EXPORT AggregateDeviceManager {
- public:
- AggregateDeviceManager();
- ~AggregateDeviceManager();
-
- // Lazily creates an aggregate device based on the default
- // input and output devices.
- // It will either return a valid device or kAudioDeviceUnknown
- // if the default devices are not suitable for aggregate devices.
- AudioDeviceID GetDefaultAggregateDevice();
-
- private:
- // The caller is responsible for releasing the CFStringRef.
- static CFStringRef GetDeviceUID(AudioDeviceID id);
-
- static void GetDeviceName(AudioDeviceID id, char* name, UInt32 size);
- static UInt32 GetClockDomain(AudioDeviceID device_id);
- static OSStatus GetPluginID(AudioObjectID* id);
-
- CFMutableDictionaryRef CreateAggregateDeviceDictionary(
- AudioDeviceID input_id,
- AudioDeviceID output_id);
-
- CFMutableArrayRef CreateSubDeviceArray(CFStringRef input_device_UID,
- CFStringRef output_device_UID);
-
- OSStatus CreateAggregateDevice(AudioDeviceID input_id,
- AudioDeviceID output_id,
- AudioDeviceID* aggregate_device);
- void DestroyAggregateDevice();
-
- AudioObjectID plugin_id_;
- AudioDeviceID input_device_;
- AudioDeviceID output_device_;
-
- AudioDeviceID aggregate_device_;
-
- DISALLOW_COPY_AND_ASSIGN(AggregateDeviceManager);
-};
-
-} // namespace media
-
-#endif // MEDIA_AUDIO_MAC_AGGREGATE_DEVICE_MANAGER_H_
« no previous file with comments | « media/audio/fake_audio_manager.cc ('k') | media/audio/mac/aggregate_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698