Penguin
 
SDL_Mix Audio(3)
LikePages

SDL_!MixAudio

SDL_!MixAudio

NAME SYNOPSIS DESCRIPTION SEE ALSO


NAME

SDL_!MixAudio- Mix audio data

SYNOPSIS

#include

void SDL_!MixAudio(Uint8 *dst, Uint8 *src, Uint32 len, int volume);

DESCRIPTION

This takes two audio buffers of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping. The volume ranges from 0 - 128, and should be set to SDL_MIX_MAXVOLUME for full audio volume. Note this does not change hardware volume. This is provided for convenience -- you can mix your own audio data.

SEE ALSO

SDL_!OpenAudio


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.