From cf0747df6c75c4a5a0f957716f2cff33fb072497 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 20 Jan 2008 22:04:41 +0000 Subject: [PATCH] Trying to debug alcMakeContextCurrent crash on Linux. --- Source/Examples/OpenAL/TestAudioContext.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Examples/OpenAL/TestAudioContext.cs b/Source/Examples/OpenAL/TestAudioContext.cs index d7a93e7d..f28ee3fd 100644 --- a/Source/Examples/OpenAL/TestAudioContext.cs +++ b/Source/Examples/OpenAL/TestAudioContext.cs @@ -56,10 +56,14 @@ namespace Examples context.IsCurrent = false; Trace.Assert(!context.IsCurrent); + context.Suspend(); + Trace.WriteLine("IsCurrent = true..."); context.IsCurrent = true; Trace.Assert(!context.IsCurrent); + context.Process(); + Trace.WriteLine("AudioContext.CurrentContext..."); Trace.Assert(AudioContext.CurrentContext == context);