Remove the volume hack again, never listen to woody
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3372
This commit is contained in:
parent
f5da809617
commit
d8b0d241bd
1 changed files with 0 additions and 10 deletions
|
@ -49,8 +49,6 @@ namespace DBOPL {
|
|||
|
||||
#define MAX_SAMPLES 256
|
||||
#define OPLRATE ((double)(14318180.0 / 288.0))
|
||||
//Shift the final volume up at the end
|
||||
#define POST_VOLSHIFT (1)
|
||||
|
||||
//Only need 4 valid bits at the top for vibrato
|
||||
#define VIBRATO_SH ( 32 - 4 )
|
||||
|
@ -1164,9 +1162,6 @@ void Chip::GenerateBlock2( Bitu samples ) {
|
|||
count++;
|
||||
ch = (ch->*(ch->synthHandler))();
|
||||
}
|
||||
for ( Bitu i = 0; i < Work.samples; i++ ) {
|
||||
Work.output[i] <<= POST_VOLSHIFT;
|
||||
}
|
||||
}
|
||||
|
||||
void Chip::GenerateBlock3( Bitu samples ) {
|
||||
|
@ -1182,11 +1177,6 @@ void Chip::GenerateBlock3( Bitu samples ) {
|
|||
count++;
|
||||
ch = (ch->*(ch->synthHandler))();
|
||||
}
|
||||
for ( Bitu i = 0; i < Work.samples; i++ ) {
|
||||
Work.output[i*2 + 0] <<= POST_VOLSHIFT;
|
||||
Work.output[i*2 + 1] <<= POST_VOLSHIFT;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void Chip::Setup( Bit32u rate ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue