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