Play chunk on channel

If channel == -1 the first unreserved channel is used. The sound is repeated loops times, loops == 0 plays it once, loops == 1 plays it twice and loops == -1 loops infinitely.

Returns the channel used, or -1 on error.

Property definitions

sdl2 $ Mix :: play_channel
	# Play `chunk` on `channel`
	#
	# If `channel == -1` the first unreserved channel is used.
	# The sound is repeated `loops` times, `loops == 0` plays it once,
	# `loops == 1` plays it twice and `loops == -1` loops infinitely.
	#
	# Returns the channel used, or `-1` on error.
	fun play_channel(channel: Int, chunk: MixChunk, loops: Int): Int `{
		return Mix_PlayChannel(channel, chunk, loops);
	`}
lib/sdl2/mixer.nit:91,2--100,3