Method | Description | |
---|---|---|
Dispose ( ) : void |
|
|
FromStream ( Stream stream ) : |
|
|
Play ( ) : bool |
|
|
Play ( float volume, float pitch, float pan ) : bool |
|
|
SoundEffect ( |
SoundEffect constructor
|
Method | Description | |
---|---|---|
CreateInstance ( ) : |
|
|
Initialize ( SharpDX.Multimedia.WaveFormat format, byte buffer, int offset, int count, int loopStart, int loopLength ) : void |
|
public static FromStream ( Stream stream ) : |
||
stream | Stream | |
return |
public Play ( float volume, float pitch, float pan ) : bool | ||
volume | float | |
pitch | float | |
pan | float | |
return | bool |
public SoundEffect ( |
||
device | ||
buffer | byte | sound data buffer |
offset | int | |
bytesCount | int | |
sampleRate | int | |
channels | AudioChannels | |
loopStart | int | |
loopLength | int | |
return | System |