mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:35:36 +00:00
Updated to use AudioLoader.
This commit is contained in:
parent
a21dcfd659
commit
71407f76d0
|
@ -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