Click or drag to resize
Accord.NET (logo)

IAudioOutput Interface

Audio Output Interface

Namespace:  Accord.Audio
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
public interface IAudioOutput
Request Example View Source

The IAudioOutput type exposes the following members.

Properties
  NameDescription
Public propertyIsRunning
Gets a value indicating whether this instance is playing audio.
Public propertyOutput
Audio output.
Top
Methods
  NameDescription
Public methodPlay
Starts playing the buffer
Public methodSignalToStop
Signals audio output to stop its work.
Public methodStop
Stops playing the buffer
Public methodWaitForStop
Wait until audio output has stopped.
Top
Events
  NameDescription
Public eventAudioOutputError
Audio output error event.
Public eventFramePlayingStarted
Indicates a block of frames have started execution.
Public eventNewFrameRequested
Indicates the audio output is requesting a new sample.
Public eventStopped
Indicates all frames have been played and the audio finished.
Top
Remarks
This interface is implemented by objects which can reproduce sounds. Examples are sound card outputs, wave file encoders/writers and special purpose encoders.
See Also