Updated to use AudioLoader.
This commit is contained in:
parent
a21dcfd659
commit
71407f76d0
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue