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

Unified Diff: media/filters/audio_renderer_algorithm_unittest.cc

Issue 2858393002: media: Increase the default audio buffer size for encrypted streams (Closed)
Patch Set: Fix another chromecast usage of AudioRendererAlgorithm Created 3 years, 7 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
« no previous file with comments | « media/filters/audio_renderer_algorithm.cc ('k') | media/renderers/audio_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7cf6cb6e0a34aa510296e99b9fb5c5400b035f6d..c75ddb6807215c3b84681b0c2f25a7ab25584ca2 100644
--- a/media/filters/audio_renderer_algorithm_unittest.cc
+++ b/media/filters/audio_renderer_algorithm_unittest.cc
@@ -109,7 +109,8 @@ class AudioRendererAlgorithmTest : public testing::Test {
AudioParameters params(media::AudioParameters::AUDIO_PCM_LINEAR,
channel_layout, samples_per_second,
bytes_per_sample_ * 8, frames_per_buffer);
- algorithm_.Initialize(params);
+ bool is_encrypted = false;
+ algorithm_.Initialize(params, is_encrypted);
algorithm_.SetChannelMask(std::move(channel_mask));
FillAlgorithmQueue();
}
@@ -252,7 +253,8 @@ class AudioRendererAlgorithmTest : public testing::Test {
channels_ = ChannelLayoutToChannelCount(kChannelLayout);
AudioParameters params(AudioParameters::AUDIO_PCM_LINEAR, kChannelLayout,
kSampleRateHz, kBytesPerSample * 8, kNumFrames);
- algorithm_.Initialize(params);
+ bool is_encrypted = false;
+ algorithm_.Initialize(params, is_encrypted);
// A pulse is 6 milliseconds (even number of samples).
const int kPulseWidthSamples = 6 * kSampleRateHz / 1000;
« no previous file with comments | « media/filters/audio_renderer_algorithm.cc ('k') | media/renderers/audio_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698