Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Unified Diff: media/filters/audio_renderer_algorithm_unittest.cc

Issue 2158923004: Convert media constants to constexpr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/audio_renderer_algorithm_unittest.cc
diff --git a/media/filters/audio_renderer_algorithm_unittest.cc b/media/filters/audio_renderer_algorithm_unittest.cc
index 18f755c577d24b1a8bb8a7efdc83746dee0ce59c..53483f6d4e0832e503bec3405fdf29628add96ed 100644
--- a/media/filters/audio_renderer_algorithm_unittest.cc
+++ b/media/filters/audio_renderer_algorithm_unittest.cc
@@ -112,19 +112,19 @@ class AudioRendererAlgorithmTest : public testing::Test {
buffer = MakeAudioBuffer<uint8_t>(
sample_format_, channel_layout_,
ChannelLayoutToChannelCount(channel_layout_), samples_per_second_,
- 1, 1, kFrameSize, kNoTimestamp());
+ 1, 1, kFrameSize, kNoTimestamp);
break;
case kSampleFormatS16:
buffer = MakeAudioBuffer<int16_t>(
sample_format_, channel_layout_,
ChannelLayoutToChannelCount(channel_layout_), samples_per_second_,
- 1, 1, kFrameSize, kNoTimestamp());
+ 1, 1, kFrameSize, kNoTimestamp);
break;
case kSampleFormatS32:
buffer = MakeAudioBuffer<int32_t>(
sample_format_, channel_layout_,
ChannelLayoutToChannelCount(channel_layout_), samples_per_second_,
- 1, 1, kFrameSize, kNoTimestamp());
+ 1, 1, kFrameSize, kNoTimestamp);
break;
default:
NOTREACHED() << "Unrecognized format " << sample_format_;

Powered by Google App Engine
This is Rietveld 408576698