#include "stdafx.h"#include "sndfile.h"Include dependency graph for sndmix.cpp:

Go to the source code of this file.
Defines | |
| #define | VOLUMERAMPLEN 146 |
| #define | VUMETER_DECAY 4 |
| #define | kChnMasterVol nMasterVol |
Typedefs | |
| typedef DWORD(MPPASMCALL * | LPCONVERTPROC )(LPVOID, int *, DWORD, LPLONG, LPLONG) |
Functions | |
| DWORD MPPASMCALL | X86_Convert32To8 (LPVOID lpBuffer, int *, DWORD nSamples, LPLONG, LPLONG) |
| DWORD MPPASMCALL | X86_Convert32To16 (LPVOID lpBuffer, int *, DWORD nSamples, LPLONG, LPLONG) |
| DWORD MPPASMCALL | X86_Convert32To24 (LPVOID lpBuffer, int *, DWORD nSamples, LPLONG, LPLONG) |
| DWORD MPPASMCALL | X86_Convert32To32 (LPVOID lpBuffer, int *, DWORD nSamples, LPLONG, LPLONG) |
| UINT MPPASMCALL | X86_AGC (int *pBuffer, UINT nSamples, UINT nAGC) |
| VOID MPPASMCALL | X86_Dither (int *pBuffer, UINT nSamples, UINT nBits) |
| VOID MPPASMCALL | X86_InterleaveFrontRear (int *pFrontBuf, int *pRearBuf, DWORD nSamples) |
| VOID MPPASMCALL | X86_StereoFill (int *pBuffer, UINT nSamples, LPLONG lpROfs, LPLONG lpLOfs) |
| VOID MPPASMCALL | X86_MonoFromStereo (int *pMixBuf, UINT nSamples) |
| int | _muldiv (long a, long b, long c) |
| int | _muldivr (long a, long b, long c) |
Variables | |
| LONG | gnDryROfsVol = 0 |
| LONG | gnDryLOfsVol = 0 |
| LONG | gnRvbROfsVol = 0 |
| LONG | gnRvbLOfsVol = 0 |
| int | gbInitPlugins = 0 |
| const short int | ModSinusTable [64] |
| const short int | ModRampDownTable [64] |
| const short int | ModSquareTable [64] |
| const short int | ModRandomTable [64] |
| const DWORD | LinearSlideUpTable [256] |
| const DWORD | LinearSlideDownTable [256] |
| const DWORD | FineLinearSlideUpTable [16] |
| const DWORD | FineLinearSlideDownTable [16] |
| const signed char | ft2VibratoTable [256] |
| int | MixSoundBuffer [MIXBUFFERSIZE *4] |
| int | MixRearBuffer [MIXBUFFERSIZE *2] |
| UINT | gnReverbSend |
| const UINT | PreAmpTable [16] |
| const UINT | PreAmpAGCTable [16] |
|
|
Referenced by CSoundFile::ReadNote(). |
|
|
Definition at line 18 of file sndmix.cpp. Referenced by CSoundFile::InitPlayer(). |
|
|
Definition at line 21 of file sndmix.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
Definition at line 46 of file sndmix.cpp. |
|
||||||||||||||||
|
Definition at line 92 of file sndmix.cpp. References cmp(). Referenced by CSoundFile::CanPackSample(), CSoundFile::FadeSong(), CSoundFile::GetFreqFromPeriod(), CSoundFile::GetPeriodFromNote(), CSoundFile::GlobalFadeSong(), MedConvert(), and CSoundFile::ReadNote(). |
|
||||||||||||||||
|
Definition at line 139 of file sndmix.cpp. Referenced by CSoundFile::DoFreqSlide(), CSoundFile::ExtraFinePortamentoDown(), CSoundFile::ExtraFinePortamentoUp(), CSoundFile::FinePortamentoDown(), CSoundFile::FinePortamentoUp(), and CSoundFile::TonePortamento(). |
|
||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||
|
Referenced by CSoundFile::Read(). |
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Initial value:
{
0,-2,-3,-5,-6,-8,-9,-11,-12,-14,-16,-17,-19,-20,-22,-23,
-24,-26,-27,-29,-30,-32,-33,-34,-36,-37,-38,-39,-41,-42,
-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,
-56,-57,-58,-59,-59,-60,-60,-61,-61,-62,-62,-62,-63,-63,
-63,-64,-64,-64,-64,-64,-64,-64,-64,-64,-64,-64,-63,-63,
-63,-62,-62,-62,-61,-61,-60,-60,-59,-59,-58,-57,-56,-56,
-55,-54,-53,-52,-51,-50,-49,-48,-47,-46,-45,-44,-43,-42,
-41,-39,-38,-37,-36,-34,-33,-32,-30,-29,-27,-26,-24,-23,
-22,-20,-19,-17,-16,-14,-12,-11,-9,-8,-6,-5,-3,-2,0,
2,3,5,6,8,9,11,12,14,16,17,19,20,22,23,24,26,27,29,30,
32,33,34,36,37,38,39,41,42,43,44,45,46,47,48,49,50,51,
52,53,54,55,56,56,57,58,59,59,60,60,61,61,62,62,62,63,
63,63,64,64,64,64,64,64,64,64,64,64,64,63,63,63,62,62,
62,61,61,60,60,59,59,58,57,56,56,55,54,53,52,51,50,49,
48,47,46,45,44,43,42,41,39,38,37,36,34,33,32,30,29,27,
26,24,23,22,20,19,17,16,14,12,11,9,8,6,5,3,2
}
Definition at line 247 of file tables.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
Definition at line 44 of file sndmix.cpp. Referenced by CSoundFile::InitPlayer(). |
|
|
Definition at line 41 of file sndmix.cpp. Referenced by CSoundFile::CreateStereoMix(), CSoundFile::InitPlayer(), and CSoundFile::Read(). |
|
|
Definition at line 40 of file sndmix.cpp. Referenced by CSoundFile::CreateStereoMix(), CSoundFile::InitPlayer(), and CSoundFile::Read(). |
|
|
Definition at line 69 of file sndmix.cpp. Referenced by CSoundFile::CreateStereoMix(), and CSoundFile::Read(). |
|
|
Definition at line 43 of file sndmix.cpp. Referenced by CSoundFile::InitPlayer(). |
|
|
Definition at line 42 of file sndmix.cpp. Referenced by CSoundFile::InitPlayer(). |
|
|
|
|
|
|
|
|
Definition at line 29 of file fastmix.cpp. Referenced by CSoundFile::CreateStereoMix(), and CSoundFile::Read(). |
|
|
Definition at line 20 of file fastmix.cpp. Referenced by CSoundFile::CreateStereoMix(), CSoundFile::ProcessMonoDSP(), CSoundFile::ProcessStereoDSP(), and CSoundFile::Read(). |
|
|
Initial value:
{
0,-4,-8,-12,-16,-20,-24,-28,-32,-36,-40,-44,-48,-52,-56,-60,
-64,-68,-72,-76,-80,-84,-88,-92,-96,-100,-104,-108,-112,-116,-120,-124,
127,123,119,115,111,107,103,99,95,91,87,83,79,75,71,67,
63,59,55,51,47,43,39,35,31,27,23,19,15,11,7,3
}
Definition at line 89 of file tables.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
|
|
|
Initial value:
{
0,12,25,37,49,60,71,81,90,98,106,112,117,122,125,126,
127,126,125,122,117,112,106,98,90,81,71,60,49,37,25,12,
0,-12,-25,-37,-49,-60,-71,-81,-90,-98,-106,-112,-117,-122,-125,-126,
-127,-126,-125,-122,-117,-112,-106,-98,-90,-81,-71,-60,-49,-37,-25,-12
}
Definition at line 79 of file tables.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
Initial value:
{
127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,
127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,
-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,
-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127,-127
}
Definition at line 99 of file tables.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
Initial value:
{
0x60, 0x60, 0x60, 0x60,
0x68, 0x70, 0x78, 0x80,
0x84, 0x88, 0x8C, 0x90,
0x94, 0x98, 0x9C, 0xA0,
}
Definition at line 82 of file sndmix.cpp. Referenced by CSoundFile::ReadNote(). |
|
|
Initial value:
{
0x60, 0x60, 0x60, 0x70,
0x80, 0x88, 0x90, 0x98,
0xA0, 0xA4, 0xA8, 0xB0,
0xB4, 0xB8, 0xBC, 0xC0,
}
Definition at line 74 of file sndmix.cpp. Referenced by CSoundFile::ReadNote(). |
1.4.2