C# Class Mp3Sharp.BufferNotificationEventArgs

Describes a buffer notification event. To properly handle the event, the NewSoundByte field should be set to an array of bytes less than or equal to the NumBytesRequired property. If less than the required number of bytes are provided, the stream will fill the remainder with silence. SoundFinished defaults to false, and should be set to indicate if the bytes contained in NewSoundByte represent the end of the sound.
Inheritance: System.EventArgs
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
NewSoundByte byte[]

Public Methods

Method Description
BufferNotificationEventArgs ( int numBytesRequired ) : System

Method Details

BufferNotificationEventArgs() public method

public BufferNotificationEventArgs ( int numBytesRequired ) : System
numBytesRequired int
return System

Property Details

NewSoundByte public_oe property

Set this field to the new bytes provided for the sound.
public byte[] NewSoundByte
return byte[]