SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_PlayChannelTimed

The same as above, but the sound is played at most 'ticks' milliseconds

Syntax

int Mix_PlayChannelTimed(int channel, Mix_Chunk *chunk, int loops, int ticks);

Function Parameters

channel

channel

chunk

chunk

loops

loops

ticks

ticks

Return Value

Returns which channel was used to play the sound.

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.