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

Unified Diff: media/audio/audio_parameters.h

Issue 1856673002: Mojofication of the Chrome Audio Rendering Prototype Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/audio_output_ipc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_parameters.h
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
index d7d730b91497b1a6bd145961c5ce7b6e0ec6f2c1..3842c5a0f95d4f2544c22c4ae4d29185985e2591 100644
--- a/media/audio/audio_parameters.h
+++ b/media/audio/audio_parameters.h
@@ -151,6 +151,7 @@ class MEDIA_EXPORT AudioParameters {
channels == ChannelLayoutToChannelCount(channel_layout_));
channels_ = channels;
}
+ void set_channels(int channels) { channels_ = channels; }
int channels() const { return channels_; }
void set_sample_rate(int sample_rate) { sample_rate_ = sample_rate; }
« no previous file with comments | « media/audio/audio_output_ipc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698