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

Unified Diff: chrome/browser/renderer_host/audio_renderer_host_unittest.cc

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 | « chrome/browser/renderer_host/audio_renderer_host.cc ('k') | chrome/browser/speech/speech_recognizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/audio_renderer_host_unittest.cc
diff --git a/chrome/browser/renderer_host/audio_renderer_host_unittest.cc b/chrome/browser/renderer_host/audio_renderer_host_unittest.cc
index 64ce7ddd86acb212bf7f44c3d7bb6c34002776dc..7c3b500934343389c76b6ab241245496f9e1a748 100644
--- a/chrome/browser/renderer_host/audio_renderer_host_unittest.cc
+++ b/chrome/browser/renderer_host/audio_renderer_host_unittest.cc
@@ -218,7 +218,7 @@ class AudioRendererHostTest : public testing::Test {
params.params.channels = 2;
params.params.sample_rate = AudioParameters::kAudioCDSampleRate;
params.params.bits_per_sample = 16;
- params.packet_size = 0;
+ params.params.samples_per_packet = 0;
// Send a create stream message to the audio output stream and wait until
// we receive the created message.
@@ -244,7 +244,7 @@ class AudioRendererHostTest : public testing::Test {
params.params.channels = 2;
params.params.sample_rate = AudioParameters::kAudioCDSampleRate;
params.params.bits_per_sample = 16;
- params.packet_size = 0;
+ params.params.samples_per_packet = 0;
// Send a create stream message to the audio output stream and wait until
// we receive the created message.
« no previous file with comments | « chrome/browser/renderer_host/audio_renderer_host.cc ('k') | chrome/browser/speech/speech_recognizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698