Don't reset frequency index on new frequency, clears up pcspeaker music.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@266
This commit is contained in:
parent
bbee123fcf
commit
115a948a92
1 changed files with 0 additions and 1 deletions
|
@ -49,7 +49,6 @@ static Speaker spkr;
|
|||
|
||||
void PCSPEAKER_SetFreq(Bit32u freq) {
|
||||
spkr.freq_add=(Bit32u)(FREQ_MAX/((float)SPKR_RATE/(float)freq));
|
||||
spkr.freq_pos=0;
|
||||
}
|
||||
|
||||
void PCSPEAKER_Enable(bool enable) {
|
||||
|
|
Loading…
Add table
Reference in a new issue