2012-02-12 13:00:17 +00:00
|
|
|
|
using System;
|
2011-11-15 20:57:51 +00:00
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
|
2012-08-09 09:45:04 +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
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
|
|
|
|
namespace ANX.Framework.Audio
|
|
|
|
|
{
|
2012-02-12 13:00:17 +00:00
|
|
|
|
public class AudioEngine : IDisposable
|
|
|
|
|
{
|
|
|
|
|
#region Constants
|
|
|
|
|
public const int ContentVersion = 0x27;
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Events
|
|
|
|
|
public event EventHandler<EventArgs> Disposing;
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public
|
|
|
|
|
public bool IsDisposed
|
|
|
|
|
{
|
2012-08-26 12:53:00 +00:00
|
|
|
|
get;
|
|
|
|
|
private set;
|
2012-02-12 13:00:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ReadOnlyCollection<RendererDetail> RendererDetails
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructor
|
|
|
|
|
public AudioEngine(string settingsFile)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-26 12:53:00 +00:00
|
|
|
|
public AudioEngine(string settingsFile, TimeSpan lookAheadTime, string rendererId)
|
2012-02-12 13:00:17 +00:00
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
~AudioEngine()
|
|
|
|
|
{
|
|
|
|
|
Dispose();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region GetCategory
|
|
|
|
|
public AudioCategory GetCategory(string name)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region GetGlobalVariable
|
|
|
|
|
public float GetGlobalVariable(string name)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region SetGlobalVariable
|
|
|
|
|
public void SetGlobalVariable(string name, float value)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Update
|
|
|
|
|
public void Update()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Dispose
|
|
|
|
|
protected virtual void Dispose(bool disposing)
|
|
|
|
|
{
|
2012-08-26 12:53:00 +00:00
|
|
|
|
if (IsDisposed == false)
|
|
|
|
|
{
|
|
|
|
|
IsDisposed = true;
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
2012-08-26 12:53:00 +00:00
|
|
|
|
Dispose(true);
|
|
|
|
|
GC.SuppressFinalize(this);
|
2012-02-12 13:00:17 +00:00
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
2011-11-15 20:57:51 +00:00
|
|
|
|
}
|