2012-08-29 13:04:22 +00:00
|
|
|
using System;
|
2012-08-29 20:17:44 +00:00
|
|
|
using ANX.Framework.NonXNA;
|
2012-08-29 13:04:22 +00:00
|
|
|
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
|
|
|
|
namespace AudioSample
|
|
|
|
{
|
|
|
|
static class Program
|
|
|
|
{
|
|
|
|
static void Main(string[] args)
|
2012-08-29 20:17:44 +00:00
|
|
|
{
|
2012-09-29 18:37:18 +00:00
|
|
|
//AddInSystemFactory.Instance.SetPreferredSystem(AddInType.SoundSystem, "OpenAL");
|
|
|
|
AddInSystemFactory.Instance.SetPreferredSystem(AddInType.SoundSystem, "XAudio");
|
2012-08-29 20:17:44 +00:00
|
|
|
|
2012-08-29 13:04:22 +00:00
|
|
|
using (Game1 game = new Game1())
|
|
|
|
{
|
|
|
|
game.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|