/home/mandrake/rpm/BUILD/sc68-2.2.1/api68/mixer68.h File Reference


Detailed Description

Author:
Benjamin Gerard <ben@sashipa.com> audio mixer

Date:
1999/05/17
Id
mixer68.h,v 2.1 2003/08/26 23:14:02 benjihan Exp

#include "emu68/type68.h"

Go to the source code of this file.

Defines

Constants for PCM sign transformation.
#define MIXER68_SAME_SIGN   0x00000000
 No channel.
#define MIXER68_CHANGE_LEFT_CHANNEL_SIGN   0x00008000
 Left channel.
#define MIXER68_CHANGE_RIGHT_CHANNEL_SIGN   0x80000000
 Right channel.
#define MIXER68_CHANGE_SIGN   0x80008000
 Both channels.

Functions

void SC68mixer_stereo_16_LR (u32 *dest, u32 *src, int nb, const u32 sign)
 Copy 16-bit-stereo PCM with optionnal sign change.
void SC68mixer_stereo_16_RL (u32 *dest, u32 *src, int nb, const u32 sign)
 Copy 16-bit-stereo PCM with channel swapping and optionnal sign change.
void SC68mixer_stereo_FL_LR (float *dest, u32 *src, int nb, const u32 sign, const float norm)
 Copy 16-bit-stereo PCM into normalized float-stereo (-norm.
void SC68mixer_dup_L_to_R (u32 *dest, u32 *src, int nb, const u32 sign)
 Copy left channel of 16-bit stereo PCM into L/R channels with optionnal sign change.
void SC68mixer_dup_R_to_L (u32 *dest, u32 *src, int nb, const u32 sign)
 Copy right channel of 16-bit stereo PCM into L/R channels with optionnal sign change.
void SC68mixer_blend_LR (u32 *dest, u32 *src, int nb, int factor, const u32 sign_r, const u32 sign_w)
 Copy 16-bit-stereo PCM with L/R blending and optionnal sign change.
void SC68mixer_mult_LR (u32 *dest, u32 *src, int nb, const int ml, const int mr, const u32 sign_r, const u32 sign_w)
 Copy 16-bit-stereo PCM with L/R amplitude factor and optionnal sign change.
void SC68mixer_fill (u32 *dest, int nb, const u32 sign)
 Fill 16-bit-stereo buffer with sign value (RRRRLLLL).


Generated on Wed Jul 25 10:04:21 2007 for sc68fordevelopers by  doxygen 1.5.2