/// <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));
 }
Example #2
0
 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));
 }
Example #5
0
 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));
 }
Example #7
0
 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);
Example #10
0
 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);
Example #14
0
 public abstract FMOD_RESULT FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume);
Example #15
0
 public static extern FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup);
Example #16
0
 public abstract FMOD_RESULT FMOD_ChannelGroup_Release(FMOD_CHANNELGROUP *channelgroup);
 private static extern FMOD_RESULT INTERNAL_FMOD_ChannelGroup_SetVolume(FMOD_CHANNELGROUP *channelgroup, Single volume);