| Index: media/audio/mac/audio_low_latency_input_mac_unittest.cc
|
| diff --git a/media/audio/mac/audio_low_latency_input_mac_unittest.cc b/media/audio/mac/audio_low_latency_input_mac_unittest.cc
|
| index 38e0dbd849a9bfe7ae80290a28e09cbcd066c408..bb40aad413f25c5859733d2bb87c4ca0b65d0c12 100644
|
| --- a/media/audio/mac/audio_low_latency_input_mac_unittest.cc
|
| +++ b/media/audio/mac/audio_low_latency_input_mac_unittest.cc
|
| @@ -134,8 +134,7 @@
|
| AudioInputStream* ais = audio_manager_->MakeAudioInputStream(
|
| AudioParameters(AudioParameters::AUDIO_PCM_LOW_LATENCY,
|
| CHANNEL_LAYOUT_STEREO, fs, 16, samples_per_packet),
|
| - AudioDeviceDescription::kDefaultDeviceId,
|
| - base::Bind(&MacAudioInputTest::OnLogMessage, base::Unretained(this)));
|
| + AudioDeviceDescription::kDefaultDeviceId);
|
| EXPECT_TRUE(ais);
|
| return ais;
|
| }
|
| @@ -148,17 +147,13 @@
|
| AudioInputStream* ais = audio_manager_->MakeAudioInputStream(
|
| AudioParameters(AudioParameters::AUDIO_PCM_LOW_LATENCY, channel_layout,
|
| fs, 16, samples_per_packet),
|
| - AudioDeviceDescription::kDefaultDeviceId,
|
| - base::Bind(&MacAudioInputTest::OnLogMessage, base::Unretained(this)));
|
| + AudioDeviceDescription::kDefaultDeviceId);
|
| EXPECT_TRUE(ais);
|
| return ais;
|
| }
|
|
|
| - void OnLogMessage(const std::string& message) { log_message_ = message; }
|
| -
|
| base::MessageLoop message_loop_;
|
| ScopedAudioManagerPtr audio_manager_;
|
| - std::string log_message_;
|
| };
|
|
|
| // Test Create(), Close().
|
| @@ -221,8 +216,6 @@
|
| run_loop.Run();
|
| ais->Stop();
|
| ais->Close();
|
| -
|
| - EXPECT_FALSE(log_message_.empty());
|
| }
|
|
|
| // Verify that recording starts and stops correctly in mono using mocked sink.
|
| @@ -256,8 +249,6 @@
|
| run_loop.Run();
|
| ais->Stop();
|
| ais->Close();
|
| -
|
| - EXPECT_FALSE(log_message_.empty());
|
| }
|
|
|
| // This test is intended for manual tests and should only be enabled
|
|
|