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

Unified Diff: media/base/audio_bus.cc

Issue 11086009: Prevent AudioLowLatencyInputMac from changing frame sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo fix. Created 8 years, 2 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/audio/mac/audio_low_latency_output_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus.cc
diff --git a/media/base/audio_bus.cc b/media/base/audio_bus.cc
index 9ff6ccd129612052a104771896a259c47c31d82d..677a0c7a350c21edeb7842a14c283833df90768c 100644
--- a/media/base/audio_bus.cc
+++ b/media/base/audio_bus.cc
@@ -290,8 +290,8 @@ void AudioBus::ToInterleaved(int frames, int bytes_per_sample,
}
void AudioBus::CopyTo(AudioBus* dest) const {
- DCHECK_EQ(channels(), dest->channels());
- DCHECK_EQ(frames(), dest->frames());
+ CHECK_EQ(channels(), dest->channels());
+ CHECK_EQ(frames(), dest->frames());
// Since we don't know if the other AudioBus is wrapped or not (and we don't
// want to care), just copy using the public channel() accessors.
« no previous file with comments | « media/audio/mac/audio_low_latency_output_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698