volume changes
as of now the master volume is 1.0x (it was 2.0x before) NES has also been amplified. these changes should not affect older songs.
This commit is contained in:
parent
82c8b97d9c
commit
4b6d9adcb9
7 changed files with 36 additions and 10 deletions
|
|
@ -99,7 +99,10 @@ void DivPlatformNES::acquire(short* bufL, short* bufR, size_t start, size_t len)
|
|||
if (nes->apu.clocked) {
|
||||
nes->apu.clocked=false;
|
||||
}
|
||||
bufL[i]=(pulse_output(nes)+tnd_output(nes))*30;
|
||||
int sample=(pulse_output(nes)+tnd_output(nes)-128)<<7;
|
||||
if (sample>32767) sample=32767;
|
||||
if (sample<-32768) sample=-32768;
|
||||
bufL[i]=sample;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue