프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Device | Device | ||
NotificationEvent |
메소드 | 설명 | |
---|---|---|
EventRaisingSoundBuffer ( Device device, WaveFormat waveFormat, System.TimeSpan bufferLength ) : System | ||
Play ( ) : void | ||
Stop ( ) : void |
메소드 | 설명 | |
---|---|---|
InitSecondaryBuffer ( ) : void |
Initialize the SecondaryBuffer and Notify instances.
|
메소드 | 설명 | |
---|---|---|
GetBytesByRaisingEvent ( int locationInSecondaryBuffer, int numBytesToAcquire, |
||
HandleNewBytesInControlThread ( int nextPlaceForBytes, int byteWindowSize, |
||
StreamControlThread ( ) : void |
The stream control thread raises events every half the stream. When the BufferNotificationEventArgs contains a SoundFinished property set to true, the current buffer segment is padded with silence. At the next notification, the next buffer segment is filled with silence, and no event is raised. At the next notification, which will come when the padded segment (not the completely silent segment) is finished, the SecondaryBuffer is stopped and the thread terminated.
|
public EventRaisingSoundBuffer ( Device device, WaveFormat waveFormat, System.TimeSpan bufferLength ) : System | ||
device | Device | |
waveFormat | WaveFormat | |
bufferLength | System.TimeSpan | |
리턴 | System |