2012-02-12 13:00:17 +00:00
|
|
|
|
using System;
|
2011-11-15 20:04:16 +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:04:16 +00:00
|
|
|
|
|
|
|
|
|
namespace ANX.Framework.Audio
|
|
|
|
|
{
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public sealed class DynamicSoundEffectInstance : SoundEffectInstance
|
|
|
|
|
{
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region Events
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public event EventHandler<EventArgs> BufferNeeded;
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2011-11-15 20:04:16 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region Public
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public override bool IsLooped
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-11-15 20:04:16 +00:00
|
|
|
|
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public int PendingBufferCount
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructor
|
|
|
|
|
public DynamicSoundEffectInstance(int sampleRate, AudioChannels channels)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
2011-11-15 20:04:16 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region GetSampleDuration
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public TimeSpan GetSampleDuration(int sizeInBytes)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region GetSampleSizeInBytes
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public int GetSampleSizeInBytes(TimeSpan duration)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region Play
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public override void Play()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region SubmitBuffer
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public void SubmitBuffer(byte[] buffer)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region SubmitBuffer
|
2012-01-25 15:31:58 +00:00
|
|
|
|
public void SubmitBuffer(byte[] buffer, int offset, int count)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#region Dispose
|
2012-01-25 15:31:58 +00:00
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2012-02-12 13:00:17 +00:00
|
|
|
|
#endregion
|
2012-01-25 15:31:58 +00:00
|
|
|
|
}
|
2011-11-15 20:04:16 +00:00
|
|
|
|
}
|