Click or drag to resize

WavePlayer Class

Plays recodered wave buffer on output device.
Inheritance Hierarchy
SystemObject
  CallFlowFramework.MediaWavePlayer

Namespace:  CallFlowFramework.Media
Assembly:  CallFlowFramework (in CallFlowFramework.dll) Version: 1.1.0.355 (1.1.0.355)
Syntax
public class WavePlayer

The WavePlayer type exposes the following members.

Constructors
  NameDescription
Public methodWavePlayer(WaveBuffer, IDispatcher)
Initializes a new instance of the WavePlayer class
Public methodWavePlayer(WaveBuffer, TimeSpan, IDispatcher)
Initializes a new instance of the WavePlayer class
Top
Properties
  NameDescription
Public propertyOutputDevice
Before the start of a new device, old device will be stopped and disposed and writing to the buffer will be stopped.
Public propertyOutputDeviceVolume
Gets or sets output device volume as a coefficient [0..1]. WaveOut.Volume, but I don't how how to do it better.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetSupportedWaveOutFormats
Returns list of supported wave formats
Public methodStatic memberGetSystemOutputDevices
Returns list of system output devices
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShutDown
Shuts down output device
Public methodStart
Plays recorded sound from given position
Public methodStop
Stops playing sound
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPlaybackProgress
Raised on playback progress.
Public eventPlayingStopped
Raised when plying recorded data stopped.
Top
See Also