SDL_MixAudio man page on Syllable

Man page or keyword search:  
man Server   2339 pages
apropos Keyword Search (all sections)
Output format
Syllable logo
[printable version]

SDL_MixAudio(3)		       SDL API Reference	       SDL_MixAudio(3)

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

SDL			    Tue 11 Sep 2001, 22:58	       SDL_MixAudio(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Syllable

List of man pages available for Syllable

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net