{{newin|[[11.0]]|110|type=function|text=It has been renamed from [[Source:getChannels]]}}
Gets the number of channels in the Source. Only 1-channel (mono) Sources can use directional and positional effects.
== Function ==
=== Synopsis ===
<source lang="lua">
channels = Source:getChannelCount( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|channels|1 for mono, 2 for stereo.}}
== See Also ==
* [[parent::Source]]
[[Category:Functions]]
{{#set:Description=Gets the number of channels in the Source.}}
== Other Languages ==
{{i18n|Source:getChannelCount}}