Exemple #1
0
 public bool FadeIn(MixerChunk chunk, int milliseconds, int maxLoops = 1, int maxMilliseconds = -1)
 {
     return(PlayingResult(Mix_FadeInChannelTimed(-1, chunk, maxLoops - 1, milliseconds, maxMilliseconds)));
 }
Exemple #2
0
 public bool Play(MixerChunk chunk, int maxLoops = 1, int maxMilliseconds = -1)
 {
     return(PlayingResult(Mix_PlayChannelTimed(-1, chunk, maxLoops - 1, maxMilliseconds)));
 }
Exemple #3
0
 public static extern int Mix_VolumeChunk(MixerChunk chunk, int volume);
Exemple #4
0
        public bool IsPlaying(MixerChunk chunk)
        {
            IntPtr p = Mix_GetChunk(num);

            return(p == chunk.DangerousGetHandle());
        }
Exemple #5
0
 public static extern int Mix_FadeInChannelTimed(int channel, MixerChunk chunk, int loops, int ms, int ticks);