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

Unified Diff: media/audio/win/audio_manager_win.cc

Issue 1362093002: Re-land: Add localized default audio device names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude media_resource_provider on iOS. Created 5 years, 3 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/pulse/audio_manager_pulse.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_manager_win.cc
diff --git a/media/audio/win/audio_manager_win.cc b/media/audio/win/audio_manager_win.cc
index 7ef9a8470cdf86ddde7b45ac7eb9d6d25da18a6a..70e6c1bf7c37febd6b978bcdfb0f9d2e480efc8e 100644
--- a/media/audio/win/audio_manager_win.cc
+++ b/media/audio/win/audio_manager_win.cc
@@ -286,12 +286,12 @@ void AudioManagerWin::GetAudioDeviceNamesImpl(
if (!device_names->empty()) {
AudioDeviceName name;
if (enumeration_type() == kMMDeviceEnumeration) {
- name.device_name = AudioManagerBase::kCommunicationsDeviceName;
+ name.device_name = AudioManager::GetCommunicationsDeviceName();
name.unique_id = AudioManagerBase::kCommunicationsDeviceId;
device_names->push_front(name);
}
// Always add default device parameters as first element.
- name.device_name = AudioManagerBase::kDefaultDeviceName;
+ name.device_name = AudioManager::GetDefaultDeviceName();
name.unique_id = AudioManagerBase::kDefaultDeviceId;
device_names->push_front(name);
}
« no previous file with comments | « media/audio/pulse/audio_manager_pulse.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698