C# Class Mp3Sharp.StreamedSound

Plays streamed PCM-format sounds.
Exibir arquivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
WaveFormatRep WaveFormat

Protected Properties

Property Type Description
ERSB EventRaisingSoundBuffer

Public Methods

Method Description
Loop ( ) : void
OnBufferNotification ( object sender, BufferNotificationEventArgs e ) : void
Play ( ) : void
Rewind ( ) : void
Stop ( ) : void
StreamedSound ( Device device, Stream stream, WaveFormat waveFormat ) : System

Protected Methods

Method Description
OnBufferInitialized ( ) : void
OnBufferInitializing ( ) : void

Private Methods

Method Description
InitBuffer ( ) : void

Method Details

Loop() public method

public Loop ( ) : void
return void

OnBufferInitialized() protected method

protected OnBufferInitialized ( ) : void
return void

OnBufferInitializing() protected method

protected OnBufferInitializing ( ) : void
return void

OnBufferNotification() public method

public OnBufferNotification ( object sender, BufferNotificationEventArgs e ) : void
sender object
e BufferNotificationEventArgs
return void

Play() public method

public Play ( ) : void
return void

Rewind() public method

public Rewind ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

StreamedSound() public method

public StreamedSound ( Device device, Stream stream, WaveFormat waveFormat ) : System
device Device
stream Stream
waveFormat WaveFormat
return System

Property Details

ERSB protected_oe property

The event-raising sound buffer used by the streamed sound.
protected EventRaisingSoundBuffer,Mp3Sharp ERSB
return EventRaisingSoundBuffer

WaveFormatRep public_oe property

public WaveFormat WaveFormatRep
return WaveFormat