SDL_MixAudio
NAMESYNOPSIS
DESCRIPTION
SEE ALSO
NAME
SDL_MixAudio − Mix audio data
SYNOPSIS
#include "SDL.h"
void SDL_MixAudio(Uint8 *dst, Uint8 *src, Uint32 len, int volume);
DESCRIPTION
This function takes two audio buffers of len bytes each of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping. The volume ranges from 0 to SDL_MIX_MAXVOLUME and should be set to the maximum value for full audio volume. Note this does not change hardware volume. This is provided for convenience -- you can mix your own audio data.
Note:
Do not use this function for mixing together more than two streams of sample data. The output from repeated application of this function may be distorted by clipping, because there is no accumulator with greater range than the input (not to mention this being an inefficient way of doing it). Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead.
SEE ALSO
SDL_OpenAudio
More Linux Commands
manpages/XtSessionReturnToken.3.html
XtSessionReturnToken(3) - token management for checkpointing
The XtSessionGetToken function will return NULL if the checkpoint operation instigated by the session manager is not currently under way. To indicate the comple
manpages/gtester-report.1.html
gtester-report(1) - test report formatting utility (ManPage)
gtester-report is a script which converts the XML output generated by gtester into HTML. OPTIONS -h, --help print help and exit -v, --version print version info
manpages/preadv.2.html
preadv(2) - read or write data into multiple buffers........
The readv() system call reads iovcnt buffers from the file associated with the file descriptor fd into the buffers described by iov (scatter input). The writev(
manpages/Search::Dict.3pm.html
Search::Dict(3pm) - search for key in dictionary file.......
Sets file position in FILEHANDLE to be first line greater than or equal (stringwise) to $key. Returns the new file position, or -1 if an error occurs. The flags
manpages/bell.n.html
bell(n) - Ring a display's bell (Local - Linux man page)....
This command rings the bell on the display for window and returns an empty string. If the -displayof option is omitted, the display of the applications main win
manpages/crypt.3.html
crypt(3) - password hashing (Library - Linux man page)......
The crypt, crypt_r, crypt_rn, and crypt_ra functions calculate a cryptographic hash function of key with one of a number of supported methods as requested with
manpages/iwevent.8.html
iwevent(8) - Display Wireless Events generated by drivers an
iwevent displays Wireless Events received through the RTNetlink socket. Each line displays the specific Wireless Event which describes what has happened on the
manpages/XConvertCase.3.html
XConvertCase(3) - convert keysyms - Linux manual page.......
Standard KeySym names are obtained from <X11/keysymdef.h> by removing the XK_ prefix from each name. KeySyms that are not part of the Xlib standard also may be
manpages/ExtUtils::Manifest.3pm.html
ExtUtils::Manifest(3pm) - utilities to write and check a MAN
Functions ExtUtils::Manifest exports no functions by default. The following are exported on request mkmanifest mkmanifest(); Writes all files in and below the c
manpages/XkbGetDeviceInfo.3.html
XkbGetDeviceInfo(3) - Determine whether the X server allows
To determine whether the X server allows Xkb access to particular capabilities of input devices other than the core X keyboard, or to determine the status of in
manpages/Module::Build::Platform::Default.3pm.html
Module::Build::Platform::Default(3pm) - Stub class for unkno
Module::Build::Platform::Default.3pm - The sole purpose of this module is to inherit from Module::Build::Base. Please see the Module::Build for the docs. AUTHOR
manpages/XrmOptionKind.3.html
XrmOptionKind(3) - initialize the Resource Manager, Resource
The XrmInitialize function initialize the resource manager. It must be called before any other Xrm functions are used. The XrmParseCommand function parses an (a
