| Index: extensions/shell/browser/shell_audio_controller_chromeos.cc
|
| diff --git a/extensions/shell/browser/shell_audio_controller_chromeos.cc b/extensions/shell/browser/shell_audio_controller_chromeos.cc
|
| index 0ee6150a3420a4aec0e98261d7e3191a4d7be30a..312a3a571b8ecd9ba43eb3ddb0e4c50836f874fb 100644
|
| --- a/extensions/shell/browser/shell_audio_controller_chromeos.cc
|
| +++ b/extensions/shell/browser/shell_audio_controller_chromeos.cc
|
| @@ -116,13 +116,13 @@ void ShellAudioController::ActivateDevices() {
|
| best_output = it->id;
|
| }
|
|
|
| - if (best_input && best_input != handler->GetActiveInputNode()) {
|
| + if (best_input && best_input != handler->GetPrimaryActiveInputNode()) {
|
| const chromeos::AudioDevice* device = GetDevice(devices, best_input);
|
| DCHECK(device);
|
| VLOG(1) << "Activating input device: " << device->ToString();
|
| handler->SwitchToDevice(*device);
|
| }
|
| - if (best_output && best_output != handler->GetActiveOutputNode()) {
|
| + if (best_output && best_output != handler->GetPrimaryActiveOutputNode()) {
|
| const chromeos::AudioDevice* device = GetDevice(devices, best_output);
|
| DCHECK(device);
|
| VLOG(1) << "Activating output device: " << device->ToString();
|
|
|