/* call-seq: * #mix_channels() -> integer * * Returns the number of mixing channels currently allocated. * See also #mix_channels=(). */ VALUE rbgm_mixer_getmixchans(VALUE module) { int result; result = Mix_AllocateChannels(-1); return INT2NUM(result); }