using System;
namespace Adrenak.UniVoice {
///
/// Responsible for handling incoming audio.
/// You'd normally want a
/// based implementation to play the audio in Unity. But this class can
/// be used in other ways such as streaming the received audio to a server
/// or writing it to a local file. It's just an audio output and the
/// destination depends on your implementation.
///
public interface IAudioOutput : IDisposable {
///
/// Feeds a object to the audio output.
///
/// The audio data to be sent.
void Feed(AudioFrame frame);
}
}