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

Unified Diff: chromeos/audio/audio_device.h

Issue 1220873010: Revert of Implement HasInputDevices in CrasAudioManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « ash/system/chromeos/audio/audio_detailed_view.cc ('k') | chromeos/audio/cras_audio_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/audio/audio_device.h
diff --git a/chromeos/audio/audio_device.h b/chromeos/audio/audio_device.h
index 2ed26b1b1316e5284e29c7809401ae0a213784bc..67dca1cf338a04335be31cd510619681ef4ac0f4 100644
--- a/chromeos/audio/audio_device.h
+++ b/chromeos/audio/audio_device.h
@@ -41,20 +41,6 @@
static std::string GetTypeString(chromeos::AudioDeviceType type);
static chromeos::AudioDeviceType GetAudioType(const std::string& node_type);
- // Indicates that an input or output audio device is for simple usage like
- // playback or recording for user. In contrast, audio device such as
- // loopback, always on keyword recognition (AOKR), and keyboard mic are
- // not for simple usage.
- bool is_for_simple_usage() {
- return (type == AUDIO_TYPE_HEADPHONE ||
- type == AUDIO_TYPE_INTERNAL_MIC ||
- type == AUDIO_TYPE_MIC ||
- type == AUDIO_TYPE_USB ||
- type == AUDIO_TYPE_BLUETOOTH ||
- type == AUDIO_TYPE_HDMI ||
- type == AUDIO_TYPE_INTERNAL_SPEAKER);
- }
-
bool is_input;
uint64 id;
std::string display_name;
« no previous file with comments | « ash/system/chromeos/audio/audio_detailed_view.cc ('k') | chromeos/audio/cras_audio_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698