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

Mix_Chunk

The internal format for an audio chunk

Header File

Defined in <SDL3_mixer/SDL_mixer.h>

Syntax

typedef struct Mix_Chunk {
    int allocated;
    Uint8 *abuf;
    Uint32 alen;
    Uint8 volume;       /* Per-sample volume, 0-128 */
} Mix_Chunk;

CategoryAPI, CategoryAPIStruct, CategorySDLMixer


[ 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.