dsh_ChannelPlay

__stdcall dsh_ChannelPlay(
CHANNELID channel,
INT flags
);

Parameters

channel
Specifies the channel the function refers.

flags
Only valid flags at the moment are DSH_LOOP (wave will be played all the time) and DSH_NOREPOSITION (position will not be set to the beginning).


Return Values

Return DSHRES_OK if successful. Other return values are DSHRES_WRONGPARAM and DSHRES_GENERALERROR.

Remarks

If you specify DSH_NOREPOSITION, you should make sure that the current position is valid. Else something bad could happen or you could not hear something.

See also

dsh_ChannelStop