Method | Description | |
---|---|---|
SaveToFile ( string filename ) : bool |
Save the sound buffer to an audio file. Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
|
|
SoundBuffer ( |
Construct a sound buffer from another sound buffer
|
|
SoundBuffer ( Stream stream ) : System |
Construct a sound buffer from a custom stream. Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
|
|
SoundBuffer ( byte bytes ) : System |
Construct a sound buffer from a file in memory. Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
|
|
SoundBuffer ( short samples, uint channelCount, uint sampleRate ) : System |
Construct a sound buffer from an array of samples
|
|
SoundBuffer ( string filename ) : System |
Construct a sound buffer from a file Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.
|
|
ToString ( ) : string |
Provide a string describing the object
|
Method | Description | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
Method | Description | |
---|---|---|
sfSoundBuffer_copy ( |
||
sfSoundBuffer_createFromFile ( string Filename ) : |
||
sfSoundBuffer_createFromMemory ( |
||
sfSoundBuffer_createFromSamples ( short Samples, uint SampleCount, uint ChannelsCount, uint SampleRate ) : |
||
sfSoundBuffer_createFromStream ( |
||
sfSoundBuffer_destroy ( |
||
sfSoundBuffer_getChannelCount ( |
||
sfSoundBuffer_getDuration ( |
||
sfSoundBuffer_getSampleCount ( |
||
sfSoundBuffer_getSampleRate ( |
||
sfSoundBuffer_getSamples ( |
||
sfSoundBuffer_saveToFile ( |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call ? |
return | void |
public SaveToFile ( string filename ) : bool | ||
filename | string | Path of the sound file to write |
return | bool |
public SoundBuffer ( |
||
copy | Sound buffer to copy | |
return | System |
public SoundBuffer ( Stream stream ) : System | ||
stream | Stream | Source stream to read from |
return | System |
public SoundBuffer ( byte bytes ) : System | ||
bytes | byte | Byte array containing the file contents |
return | System |
public SoundBuffer ( short samples, uint channelCount, uint sampleRate ) : System | ||
samples | short | Array of samples |
channelCount | uint | Channel count |
sampleRate | uint | Sample rate |
return | System |
public SoundBuffer ( string filename ) : System | ||
filename | string | Path of the sound file to load |
return | System |