diff options
Diffstat (limited to 'dom/media/AudioStream.h')
-rw-r--r-- | dom/media/AudioStream.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/media/AudioStream.h b/dom/media/AudioStream.h index 199314d4b6..e138ab991a 100644 --- a/dom/media/AudioStream.h +++ b/dom/media/AudioStream.h @@ -192,9 +192,10 @@ public: explicit AudioStream(DataSource& aSource); // Initialize the audio stream. aNumChannels is the number of audio - // channels (1 for mono, 2 for stereo, etc) and aRate is the sample rate + // channels (1 for mono, 2 for stereo, etc), aChannelMap is the indicator for + // channel layout(mono, stereo, 5.1 or 7.1 ) and aRate is the sample rate // (22050Hz, 44100Hz, etc). - nsresult Init(uint32_t aNumChannels, uint32_t aRate, + nsresult Init(uint32_t aNumChannels, uint32_t aChannelMap, uint32_t aRate, const dom::AudioChannel aAudioStreamChannel); // Closes the stream. All future use of the stream is an error. |