2012-02-12 13:00:17 +00:00
|
|
|
|
using System;
|
2012-09-30 11:14:44 +00:00
|
|
|
|
using ANX.Framework.NonXNA.Development;
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
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-09-30 11:14:44 +00:00
|
|
|
|
[PercentageComplete(0)]
|
2012-10-13 21:36:46 +00:00
|
|
|
|
[Developer("AstrorEnales")]
|
2012-09-30 11:14:44 +00:00
|
|
|
|
[TestState(TestStateAttribute.TestState.Untested)]
|
2012-02-12 13:00:17 +00:00
|
|
|
|
public class WaveBank : IDisposable
|
|
|
|
|
{
|
|
|
|
|
#region Events
|
|
|
|
|
public event EventHandler<EventArgs> Disposing;
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public
|
|
|
|
|
public bool IsDisposed
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool IsInUse
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool IsPrepared
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructor
|
|
|
|
|
public WaveBank(AudioEngine audioEngine, string nonStreamingWaveBankFilename)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2012-08-26 12:53:00 +00:00
|
|
|
|
public WaveBank(AudioEngine audioEngine, string streamingWaveBankFilename, int offset, short packetsize)
|
2012-02-12 13:00:17 +00:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
~WaveBank()
|
|
|
|
|
{
|
|
|
|
|
Dispose();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region Dispose
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
Dispose(true);
|
|
|
|
|
}
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
protected virtual void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (IsDisposed)
|
|
|
|
|
return;
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
IsDisposed = true;
|
2011-11-15 20:57:51 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
2011-11-15 20:57:51 +00:00
|
|
|
|
}
|