Index: media/audio/alsa/audio_manager_alsa.cc |
diff --git a/media/audio/alsa/audio_manager_alsa.cc b/media/audio/alsa/audio_manager_alsa.cc |
index 325c3720d3a6554f62d37986982ee34975c9e713..1d658fcd3baf33f868c8a96b24236cf559905c3f 100644 |
--- a/media/audio/alsa/audio_manager_alsa.cc |
+++ b/media/audio/alsa/audio_manager_alsa.cc |
@@ -163,9 +163,9 @@ void AudioManagerAlsa::GetAlsaDevicesInfo( |
// still empty. Note, pulse has exclusively opened the default |
// device, so we must open the device via the "default" moniker. |
if (device_names->empty()) { |
- device_names->push_front(media::AudioDeviceName( |
- AudioManagerBase::kDefaultDeviceName, |
- AudioManagerBase::kDefaultDeviceId)); |
+ device_names->push_front( |
+ media::AudioDeviceName(AudioManager::GetDefaultDeviceName(), |
+ AudioManagerBase::kDefaultDeviceId)); |
} |
// Get the unique device name for the device. |