{{deprecatedin|[[11.0]]|110|type=function|text=This function has been renamed to [[Decoder:getChannelCount]]}}
Returns the number of channels in the stream.
== Function ==
=== Synopsis ===
<source lang="lua">
channels = Decoder:getChannels( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|channels|1 for mono, 2 for stereo.}}
== See Also ==
* [[parent::Decoder]]
[[Category:Functions]]
{{#set:Description=Returns the number of channels in the stream.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Decoder:getChannels}}