dmz_snd_play
The dmz_snd_play function takes an id of a sound file loaded in memory and plays it back.
int dmz_snd_play (
int sid,
int flags
);
Return Values
Non-negative value if successful, negative value on error.
For more information see dmz_snd error codes.
Parameters
sid
id of the file to play (as returned by dmz_snd_load)
flags
used to request certain playback options
Remarks
The following values of the flags parameter are currently supported:
Value (constant) |
Meaning |
DMZ_SND_LOOP | keep playing the sound until interrupted |
QuickInfo
Defined in: dmz_snd.h
Windows: Requires DirectX 3.0 or later and dmz_snd.dll
Last updated October 15, 2000 22:35 by afedosov