Channel.chunk

Wraps Mix_GetChunk which gets the currently-playing dsdl2.mixer.Chunk in the channel

This function is marked as @system due to the potential of referencing invalid memory.

class Channel
const @property @system
chunk
()

Return Value

Type: Chunk

dsdl2.mixer.Chunk proxy to the playing chunk

Throws

dsdl2.SDLException if failed to get the playing chunk

Meta