From 71407f76d0893f13df0060cec65633f52b5602ed Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 6 Apr 2008 14:48:47 +0000 Subject: [PATCH] Updated to use AudioLoader. --- Source/Examples/OpenAL/Playback.cs | 2 +- Source/Examples/OpenAL/StreamingPlayback.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Examples/OpenAL/Playback.cs b/Source/Examples/OpenAL/Playback.cs index d676f014..8fe8fe0e 100644 --- a/Source/Examples/OpenAL/Playback.cs +++ b/Source/Examples/OpenAL/Playback.cs @@ -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); diff --git a/Source/Examples/OpenAL/StreamingPlayback.cs b/Source/Examples/OpenAL/StreamingPlayback.cs index d82c183b..2e82cc1e 100644 --- a/Source/Examples/OpenAL/StreamingPlayback.cs +++ b/Source/Examples/OpenAL/StreamingPlayback.cs @@ -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);