AY: reduce PCM clicking
This commit is contained in:
parent
67fc945992
commit
70825dc45a
|
@ -139,7 +139,7 @@ void DivPlatformAY8910::runDAC() {
|
||||||
chan[i].dac.pos=s->loopStart;
|
chan[i].dac.pos=s->loopStart;
|
||||||
} else if (chan[i].dac.pos>=(int)s->samples) {
|
} else if (chan[i].dac.pos>=(int)s->samples) {
|
||||||
chan[i].dac.sample=-1;
|
chan[i].dac.sample=-1;
|
||||||
immWrite(0x08+i,0);
|
//immWrite(0x08+i,0);
|
||||||
end=true;
|
end=true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,7 +135,7 @@ void DivPlatformAY8930::runDAC() {
|
||||||
chan[i].dac.pos=s->loopStart;
|
chan[i].dac.pos=s->loopStart;
|
||||||
} else if (chan[i].dac.pos>=(int)s->samples) {
|
} else if (chan[i].dac.pos>=(int)s->samples) {
|
||||||
chan[i].dac.sample=-1;
|
chan[i].dac.sample=-1;
|
||||||
immWrite(0x08+i,0);
|
//immWrite(0x08+i,0);
|
||||||
end=true;
|
end=true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue