PC speaker: volume macro (finally)
This commit is contained in:
parent
abd5dd3a12
commit
dfb4f211c1
|
@ -168,8 +168,8 @@ void DivPlatformPCSpeaker::tick() {
|
||||||
for (int i=0; i<1; i++) {
|
for (int i=0; i<1; i++) {
|
||||||
chan[i].std.next();
|
chan[i].std.next();
|
||||||
if (chan[i].std.hadVol) {
|
if (chan[i].std.hadVol) {
|
||||||
// ok, why are the volumes like that?
|
chan[i].outVol=(chan[i].vol && chan[i].std.vol);
|
||||||
chan[i].outVol=chan[i].vol;
|
on=chan[i].outVol;
|
||||||
}
|
}
|
||||||
if (chan[i].std.hadArp) {
|
if (chan[i].std.hadArp) {
|
||||||
if (!chan[i].inPorta) {
|
if (!chan[i].inPorta) {
|
||||||
|
|
Loading…
Reference in New Issue