Fixed path to wav file.

This commit is contained in:
the_fiddler 2008-05-04 19:44:21 +00:00
parent e5e2f7f827
commit 84756e05d2

View file

@ -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()
{