From 06fea0526ecca49d1575f3109d71b6818119996f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 6 Apr 2008 01:28:42 +0000 Subject: [PATCH] Updated using (AudioContext) declaration. --- Source/Examples/OpenAL/Playback.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Examples/OpenAL/Playback.cs b/Source/Examples/OpenAL/Playback.cs index 0a6780b3..d676f014 100644 --- a/Source/Examples/OpenAL/Playback.cs +++ b/Source/Examples/OpenAL/Playback.cs @@ -20,8 +20,7 @@ namespace Examples public static void Main() { - AudioContext context = new AudioContext(); - + using (AudioContext context = new AudioContext()) using (SoundReader sound = new SoundReader(filename)) { Console.WriteLine("Testing WaveReader({0}).ReadToEnd()", filename);