SND\AstrorEnales_cp 6f759ae509 Build a small tool to check all ANX classes about their Development attributes and generate an html report.
Added Development attributes to all PackedVector classes and Audio classes.
2015-03-15 01:11:20 +01:00

29 lines
751 B
C#

using System;
using ANX.Framework.Audio;
// 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 ANX.Framework.NonXNA.SoundSystem
{
public interface IMicrophone : IDisposable
{
MicrophoneState State { get; }
int SampleRate { get; }
bool IsHeadset { get; }
TimeSpan BufferDuration { get; set; }
event EventHandler<EventArgs> BufferReady;
void Stop();
void Start();
int GetSampleSizeInBytes(ref TimeSpan duration);
TimeSpan GetSampleDuration(int sizeInBytes);
int GetData(byte[] buffer);
int GetData(byte[] buffer, int offset, int count);
}
}