Updated to use AudioLoader.

This commit is contained in:
the_fiddler 2008-04-06 14:48:47 +00:00
parent a21dcfd659
commit 71407f76d0
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -30,7 +30,7 @@ namespace Examples.OpenAL
public static void Main()
{
using (AudioContext context = new AudioContext())
using (SoundReader sound = new SoundReader(filename))
using (AudioReader sound = new AudioReader(filename))
{
int source = AL.GenSource();
int[] buffers = AL.GenBuffers(buffer_count);