Index: media/renderers/audio_renderer_impl_unittest.cc |
diff --git a/media/renderers/audio_renderer_impl_unittest.cc b/media/renderers/audio_renderer_impl_unittest.cc |
index 98782c937ceea400601e877ab23f42d01e04ef07..1fe5bdd0a8b3a1e238610a0c2720b4000cccfee2 100644 |
--- a/media/renderers/audio_renderer_impl_unittest.cc |
+++ b/media/renderers/audio_renderer_impl_unittest.cc |
@@ -212,7 +212,7 @@ class AudioRendererImplTest : public ::testing::Test { |
void StartTicking() { |
renderer_->StartTicking(); |
- renderer_->SetPlaybackRate(1.0f); |
+ renderer_->SetPlaybackRate(1.0); |
} |
void StopTicking() { renderer_->StopTicking(); } |
@@ -721,18 +721,18 @@ TEST_F(AudioRendererImplTest, SetPlaybackRate) { |
// Rendering hasn't started. Sink should always be paused. |
EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); |
- renderer_->SetPlaybackRate(0.0f); |
+ renderer_->SetPlaybackRate(0.0); |
EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); |
- renderer_->SetPlaybackRate(1.0f); |
+ renderer_->SetPlaybackRate(1.0); |
EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); |
// Rendering has started with non-zero rate. Rate changes will affect sink |
// state. |
renderer_->StartTicking(); |
EXPECT_EQ(FakeAudioRendererSink::kPlaying, sink_->state()); |
- renderer_->SetPlaybackRate(0.0f); |
+ renderer_->SetPlaybackRate(0.0); |
EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); |
- renderer_->SetPlaybackRate(1.0f); |
+ renderer_->SetPlaybackRate(1.0); |
EXPECT_EQ(FakeAudioRendererSink::kPlaying, sink_->state()); |
// Rendering has stopped. Sink should be paused. |
@@ -741,10 +741,10 @@ TEST_F(AudioRendererImplTest, SetPlaybackRate) { |
// Start rendering with zero playback rate. Sink should be paused until |
// non-zero rate is set. |
- renderer_->SetPlaybackRate(0.0f); |
+ renderer_->SetPlaybackRate(0.0); |
renderer_->StartTicking(); |
EXPECT_EQ(FakeAudioRendererSink::kPaused, sink_->state()); |
- renderer_->SetPlaybackRate(1.0f); |
+ renderer_->SetPlaybackRate(1.0); |
EXPECT_EQ(FakeAudioRendererSink::kPlaying, sink_->state()); |
} |