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

Unified Diff: webrtc/sound/sounddevicelocator.h

Issue 1715043002: Remove webrtc/sound/ subdir. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@remove_devicemanager
Patch Set: rebase Created 4 years, 9 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 | « webrtc/sound/sound_tests.gypi ('k') | webrtc/sound/soundinputstreaminterface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sound/sounddevicelocator.h
diff --git a/webrtc/sound/sounddevicelocator.h b/webrtc/sound/sounddevicelocator.h
deleted file mode 100644
index f8a6cf8802ba89dbc567519aa33e1e876085e08a..0000000000000000000000000000000000000000
--- a/webrtc/sound/sounddevicelocator.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2004 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_SOUND_SOUNDDEVICELOCATOR_H_
-#define WEBRTC_SOUND_SOUNDDEVICELOCATOR_H_
-
-#include <string>
-
-#include "webrtc/base/constructormagic.h"
-
-namespace rtc {
-
-// A simple container for holding the name of a device and any additional id
-// information needed to locate and open it. Implementations of
-// SoundSystemInterface must subclass this to add any id information that they
-// need.
-class SoundDeviceLocator {
- public:
- virtual ~SoundDeviceLocator() {}
-
- // Human-readable name for the device.
- const std::string &name() const { return name_; }
-
- // Name sound system uses to locate this device.
- const std::string &device_name() const { return device_name_; }
-
- // Makes a duplicate of this locator.
- virtual SoundDeviceLocator *Copy() const = 0;
-
- protected:
- SoundDeviceLocator(const std::string &name,
- const std::string &device_name)
- : name_(name), device_name_(device_name) {}
-
- explicit SoundDeviceLocator(const SoundDeviceLocator &that)
- : name_(that.name_), device_name_(that.device_name_) {}
-
- std::string name_;
- std::string device_name_;
-
- private:
- RTC_DISALLOW_ASSIGN(SoundDeviceLocator);
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_SOUND_SOUNDDEVICELOCATOR_H_
« no previous file with comments | « webrtc/sound/sound_tests.gypi ('k') | webrtc/sound/soundinputstreaminterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698