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

Unified Diff: media/audio/audio_parameters.h

Issue 1896883002: Mojo interfaces needed for switching audio rendering stream creation and closing from IPC to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove content files 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
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; }
DaleCurtis 2016/04/29 17:48:04 Don't add this, instead add a set_channel_layout()
rchtara 2016/05/02 15:54:10 I replaced set_channels by set_channels_for_discre
int channels() const { return channels_; }
void set_sample_rate(int sample_rate) { sample_rate_ = sample_rate; }
« no previous file with comments | « no previous file | media/mojo/common/media_type_converters.h » ('j') | media/mojo/common/media_type_converters.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698