Bug 1368448 - After full duplex AEC info can be found in MSG. r=padenot
authorAlex Chronopoulos <achronop@gmail.com>
Tue, 06 Jun 2017 12:26:39 +0300
changeset 410618 34f42d4d3ef2a821ab398549cc2ffd8223724d4c
parent 410617 6f17a72e69cc9ccab071091347f6bb5cf7a57bab
child 410619 a36d3b0c90df1e7f6427d30269bf25e3364344dd
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1368448
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1368448 - After full duplex AEC info can be found in MSG. r=padenot MozReview-Commit-ID: Atfjf1iu48k
dom/media/GraphDriver.cpp
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -733,19 +733,17 @@ AudioCallbackDriver::Init()
       // We're not using SwitchAtNextIteration here, because there
       // won't be a next iteration if we don't restart things manually:
       // the audio stream just signaled that it's in error state.
       mGraphImpl->SetCurrentDriver(nextDriver);
       nextDriver->Start();
       return true;
     }
   }
-  bool aec;
-  Unused << mGraphImpl->AudioTrackPresent(aec);
-  SetMicrophoneActive(aec);
+  SetMicrophoneActive(mGraphImpl->mInputWanted);
 
   cubeb_stream_register_device_changed_callback(mAudioStream,
                                                 AudioCallbackDriver::DeviceChangedCallback_s);
 
   if (!StartStream()) {
     LOG(LogLevel::Warning, ("AudioCallbackDriver couldn't start stream."));
     return false;
   }