|
|
| MF_API MFSound* MFSound_CreateDynamic |
( |
const char * |
pName, |
|
|
int |
numSamples, |
|
|
int |
numChannels, |
|
|
int |
bitsPerSample, |
|
|
int |
samplerate, |
|
|
uint32 |
flags |
|
) |
| |
Creates a dynamic sound buffer.
- Parameters
-
| pName | Name of the sound to create. |
| numSamples | Number of samples in the buffer. |
| numChannels | Number of channels in the sound buffer. |
| bitsPerSample | Bits per sample. |
| samplerate | Playback rate in samples per second. |
| flags | A 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()
|