/// <inheritdoc cref="SongPlayer.Play(Song, Single, Single, Single, TimeSpan, TimeSpan?)"/> public Boolean Play(FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, TimeSpan duration, Single volume, Single pitch, Single pan, TimeSpan loopStart, TimeSpan?loopLength) { return(PlayInternal(sound, channelgroup, duration, volume, pitch, pan, loopStart, loopLength ?? Duration - loopStart)); }
public abstract FMOD_RESULT FMOD_System_PlaySound(FMOD_SYSTEM *system, FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, Boolean paused, FMOD_CHANNEL **channel);
/// <inheritdoc cref="SongPlayer.Play(Song, TimeSpan, TimeSpan?)"/> public Boolean Play(FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, TimeSpan duration, TimeSpan loopStart, TimeSpan?loopLength) { return(PlayInternal(sound, channelgroup, duration, 1f, 0f, 0f, loopStart, loopLength ?? Duration - loopStart)); }
/// <inheritdoc cref="SongPlayer.Play(Song, Single, Single, Single, Boolean)"/> public Boolean Play(FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, TimeSpan duration, Single volume, Single pitch, Single pan, Boolean loop = false) { return(PlayInternal(sound, channelgroup, duration, volume, pitch, pan, loop ? TimeSpan.Zero : (TimeSpan?)null, null)); }
public static FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup) => pFMOD_ChannelGroup_Release(channelgroup);
/// <inheritdoc cref="SongPlayer.Play(Song, Boolean)"/> public Boolean Play(FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, TimeSpan duration, Boolean loop = false) { return(PlayInternal(sound, channelgroup, duration, 1f, 0f, 0f, loop ? TimeSpan.Zero : (TimeSpan?)null, null)); }
public static FMOD_RESULT FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume) => pFMOD_ChannelGroup_SetVolume(channelgroup, volume);
public override sealed FMOD_RESULT FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume) => INTERNAL_FMOD_ChannelGroup_SetVolume(channelgroup, volume);
public override sealed FMOD_RESULT FMOD_System_PlaySound(FMOD_SYSTEM *system, FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, Boolean paused, FMOD_CHANNEL **channel) => INTERNAL_FMOD_System_PlaySound(system, sound, channelgroup, paused, channel);
public static FMOD_RESULT FMOD_System_PlaySound(FMOD_SYSTEM *system, FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, Boolean paused, FMOD_CHANNEL **channel) => pFMOD_System_PlaySound(system, sound, channelgroup, paused, channel);
private static extern FMOD_RESULT INTERNAL_FMOD_System_PlaySound(FMOD_SYSTEM *system, FMOD_SOUND *sound, FMOD_CHANNELGROUP *channelgroup, Boolean paused, FMOD_CHANNEL **channel);
public override sealed FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup) => INTERNAL_FMOD_ChannelGroup_Release(channelgroup);
private static extern FMOD_RESULT INTERNAL_FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup);
public abstract FMOD_RESULT FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume);
public static extern FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup);
public abstract FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup);
private static extern FMOD_RESULT INTERNAL_FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume);