프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DSDEVID_DefaultCapture | System.Guid | ||
DSDEVID_DefaultPlayback | System.Guid | ||
DSDEVID_DefaultVoiceCapture | System.Guid | ||
DSDEVID_DefaultVoicePlayback | System.Guid |
메소드 | 설명 | |
---|---|---|
DirectSoundOut ( ) : System |
Initializes a new instance of the DirectSoundOut class.
|
|
DirectSoundOut ( System.Guid device ) : System |
Initializes a new instance of the DirectSoundOut class.
|
|
DirectSoundOut ( System.Guid device, int latency ) : System |
Initializes a new instance of the DirectSoundOut class. (40ms seems to work under Vista).
|
|
DirectSoundOut ( int latency ) : System |
Initializes a new instance of the DirectSoundOut class.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetPosition ( ) : long |
Gets the current position in bytes from the wave output device. (n.b. this is not the same thing as the position within your reader stream)
|
|
Init ( IWaveProvider waveProvider ) : void |
Initialise playback
|
|
Pause ( ) : void |
Pause Playback
|
|
Play ( ) : void |
Begin playback
|
|
Stop ( ) : void |
Stop playback
|
메소드 | 설명 | |
---|---|---|
DirectSoundCreate ( System.Guid &GUID, [ directSound, |
||
DirectSoundEnumerate ( DSEnumCallback lpDSEnumCallback, |
||
EnumCallback ( |
||
Feed ( int bytesToCopy ) : int |
Feeds the SecondaryBuffer with the WaveStream
|
|
GetDesktopWindow ( ) : |
||
InitializeDirectSound ( ) : void | ||
IsBufferLost ( ) : bool |
Determines whether the SecondaryBuffer is lost.
|
|
MsToBytes ( int ms ) : int |
Convert ms to bytes size according to WaveFormat
|
|
PlaybackThreadFunc ( ) : void |
Processes the samples in a separate thread.
|
|
RaisePlaybackStopped ( |
||
StopPlayback ( ) : void |
Stop playback
|
public DirectSoundOut ( System.Guid device ) : System | ||
device | System.Guid | |
리턴 | System |
public DirectSoundOut ( System.Guid device, int latency ) : System | ||
device | System.Guid | Selected device |
latency | int | The latency. |
리턴 | System |
public Init ( IWaveProvider waveProvider ) : void | ||
waveProvider | IWaveProvider | The waveprovider to be played |
리턴 | void |
public static Guid,System DSDEVID_DefaultCapture | ||
리턴 | System.Guid |
public static Guid,System DSDEVID_DefaultPlayback | ||
리턴 | System.Guid |
public static Guid,System DSDEVID_DefaultVoiceCapture | ||
리턴 | System.Guid |