mixGroupCount function

int mixGroupCount(
  1. int tag
)

Returns the number of channels in a group.

If tag is -1, this will return the total number of channels allocated, regardless of what their tag might be.

\param tag an arbitrary value, assigned to channels, to search for. \returns the number of channels assigned the specified tag.

\since This function is available since SDL_mixer 2.0.0.

extern DECLSPEC int SDLCALL Mix_GroupCount(int tag)

Implementation

int mixGroupCount(int tag) {
  final mixGroupCountLookupFunction = libSdl2Mixer.lookupFunction<
      Int32 Function(Int32 tag), int Function(int tag)>('Mix_GroupCount');
  return mixGroupCountLookupFunction(tag);
}