Mount Fuji Engine  0.8b
MF_API MFSound* MFSound_CreateDynamic ( const char *  pName,
int  numSamples,
int  numChannels,
int  bitsPerSample,
int  samplerate,
uint32  flags 
)

Creates a dynamic sound buffer.

Parameters
pNameName of the sound to create.
numSamplesNumber of samples in the buffer.
numChannelsNumber of channels in the sound buffer.
bitsPerSampleBits per sample.
sampleratePlayback rate in samples per second.
flagsA combination of zero or more flags from the MFSoundFlags enum to control the behaviour of the sound buffer.
Returns
A pointer to the newly created sound buffer, or NULL on failure.
See Also
MFSound_Destroy(), MFSound_Play(), MFSound_LockDynamic(), MFSound_UnlockDynamic()