Updated using (AudioContext) declaration.

This commit is contained in:
the_fiddler 2008-04-06 01:28:42 +00:00
parent 192ee1ba42
commit 06fea0526e

View file

@ -20,8 +20,7 @@ namespace Examples
public static void Main() public static void Main()
{ {
AudioContext context = new AudioContext(); using (AudioContext context = new AudioContext())
using (SoundReader sound = new SoundReader(filename)) using (SoundReader sound = new SoundReader(filename))
{ {
Console.WriteLine("Testing WaveReader({0}).ReadToEnd()", filename); Console.WriteLine("Testing WaveReader({0}).ReadToEnd()", filename);