Fixed path to wav file.
This commit is contained in:
parent
e5e2f7f827
commit
84756e05d2
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@
|
|||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading;
|
||||
using System.IO;
|
||||
|
||||
using OpenTK.Audio;
|
||||
|
||||
|
@ -16,7 +17,7 @@ namespace Examples
|
|||
[Example("Playback", ExampleCategory.OpenAL)]
|
||||
public class Playback
|
||||
{
|
||||
const string filename = "Data\\Audio\\the_ring_that_fell.wav";
|
||||
static readonly string filename = Path.Combine(Path.Combine("Data", "Audio"), "the_ring_that_fell.wav");
|
||||
|
||||
public static void Main()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue