Function Channel.chunk

Wraps Mix_GetChunk which gets the currently-playing Chunk in the channel

Chunk chunk() @property const;

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

Returns

Chunk proxy to the playing chunk

Throws

dsdl2.SDLException if failed to get the playing chunk