mixGetGroupMixer function mixer

Pointer<MixMixer> mixGetGroupMixer(
  1. Pointer<MixGroup> group
)

Get the MIX_Mixer that owns a MIX_Group.

This is the mixer pointer that was passed to MIX_CreateGroup().

\param group the group to query. \returns the mixer associated with the group, or NULL on error; call SDL_GetError() for more information.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC MIX_Mixer * SDLCALL MIX_GetGroupMixer(MIX_Group *group)

Implementation

Pointer<MixMixer> mixGetGroupMixer(Pointer<MixGroup> group) {
  final mixGetGroupMixerLookupFunction = _libMixer
      .lookupFunction<
        Pointer<MixMixer> Function(Pointer<MixGroup> group),
        Pointer<MixMixer> Function(Pointer<MixGroup> group)
      >('MIX_GetGroupMixer');
  return mixGetGroupMixerLookupFunction(group);
}