public void FadeInMusic() { InitAudio(); int result; IntPtr chunkPtr = SdlMixer.Mix_LoadMUS("test.wav"); result = SdlMixer.Mix_FadeInMusic(chunkPtr, -1, 2); Console.WriteLine("PlayMusic: " + result.ToString()); Assert.IsTrue(result != -1); Thread.Sleep(5000); QuitAudio(); }