Correcting EPSM Rhythm volume
Accidently commited wrong volume settings for rhythm
This commit is contained in:
parent
1d68e6996f
commit
36c1cba8a4
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ private:
|
||||||
ym3438_t _chip;
|
ym3438_t _chip;
|
||||||
|
|
||||||
int16_t _lastOutputs[2];
|
int16_t _lastOutputs[2];
|
||||||
int32_t _currentOutputs[2];
|
int16_t _currentOutputs[2];
|
||||||
uint8_t writeValue;
|
uint8_t writeValue;
|
||||||
int16_t writeAddr;
|
int16_t writeAddr;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ protected:
|
||||||
EPSMSSGAudio::StreamState(saving);
|
EPSMSSGAudio::StreamState(saving);
|
||||||
|
|
||||||
ArrayInfo<int16_t> lastOutputs{ _lastOutputs, 2 };
|
ArrayInfo<int16_t> lastOutputs{ _lastOutputs, 2 };
|
||||||
ArrayInfo<int32_t> currentOutputs{ _currentOutputs, 2 };
|
ArrayInfo<int16_t> currentOutputs{ _currentOutputs, 2 };
|
||||||
ArrayInfo<InputBuffer> inputBuffer{ &_inputBuffer };
|
ArrayInfo<InputBuffer> inputBuffer{ &_inputBuffer };
|
||||||
ValueInfo<ym3438_t> chip{ &_chip };
|
ValueInfo<ym3438_t> chip{ &_chip };
|
||||||
ValueInfo<double> clock { &_clock };
|
ValueInfo<double> clock { &_clock };
|
||||||
|
@ -110,7 +110,7 @@ protected:
|
||||||
for (uint8_t x = 0; x < 2; x++)
|
for (uint8_t x = 0; x < 2; x++)
|
||||||
{
|
{
|
||||||
_currentOutputs[x] += samples[x];
|
_currentOutputs[x] += samples[x];
|
||||||
_currentOutputs[x] += samples[x+2]/2;
|
_currentOutputs[x] += samples[x+2]/8;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto& input = _inputBuffer[cycle];
|
auto& input = _inputBuffer[cycle];
|
||||||
|
|
Loading…
Add table
Reference in a new issue