Get the current number of channels of soundfile.
bufnum |
Buffer index. |
the current number of channels.
.ir
method is not the safest choice. Since a buffer can be reallocated at any time, using .ir
will not track the changes. Use .kr
instead.