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