2012-08-09 09:45:04 +00:00
|
|
|
using System;
|
2012-02-11 23:53:03 +00:00
|
|
|
using ANX.Framework.Audio;
|
2012-01-25 15:31:58 +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
|
2012-01-25 15:31:58 +00:00
|
|
|
|
|
|
|
namespace ANX.Framework.NonXNA.SoundSystem
|
|
|
|
{
|
|
|
|
public interface ISoundEffectInstance : IDisposable
|
|
|
|
{
|
2012-02-11 23:53:03 +00:00
|
|
|
bool IsLooped
|
|
|
|
{
|
|
|
|
get;
|
|
|
|
set;
|
|
|
|
}
|
|
|
|
|
|
|
|
float Pan
|
|
|
|
{
|
|
|
|
get;
|
|
|
|
set;
|
|
|
|
}
|
|
|
|
|
|
|
|
float Pitch
|
|
|
|
{
|
|
|
|
get;
|
|
|
|
set;
|
|
|
|
}
|
|
|
|
|
|
|
|
SoundState State
|
|
|
|
{
|
|
|
|
get;
|
|
|
|
}
|
|
|
|
|
|
|
|
float Volume
|
|
|
|
{
|
|
|
|
get;
|
|
|
|
set;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Play();
|
|
|
|
|
|
|
|
void Pause();
|
|
|
|
|
|
|
|
void Stop(bool immediate);
|
|
|
|
|
|
|
|
void Resume();
|
|
|
|
|
|
|
|
void Apply3D(AudioListener[] listeners, AudioEmitter emitter);
|
2012-01-25 15:31:58 +00:00
|
|
|
}
|
|
|
|
}
|