new DSP architecture (is this one correct ?)

Start of voice & echo functions (need to name them)
This commit is contained in:
Melefo
2021-02-03 01:34:43 +01:00
parent 694ea7f9d4
commit 61ef40e968
7 changed files with 774 additions and 302 deletions

View File

@@ -718,6 +718,7 @@ namespace ComSquare::APU
if (this->_state == Running)
this->_paddingCycles = total - cycles;
this->_dsp->update();
samples = this->_dsp->getSamplesCount();
if (samples > 0)
this->_renderer.playAudio(this->_soundBuffer, samples / 2);