Performance adjusts

This commit is contained in:
cam900 2022-08-28 09:59:56 +09:00
parent f73d1bd82c
commit a411e34a62
13 changed files with 24 additions and 22 deletions

View file

@ -58,7 +58,7 @@ void DivPlatformVERA::acquire(short* bufL, short* bufR, size_t start, size_t len
size_t pos=start;
DivSample* s=parent->getSample(chan[16].pcm.sample);
while (len>0) {
if (s->getEndPosition()>0) {
if (s->samples>0) {
while (pcm_is_fifo_almost_empty(pcm)) {
short tmp_l=0;
short tmp_r=0;