|
sc68fordevelopers
2.2.1
|
audio mixer More...
#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..+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). | |
1.7.5.1