This commit is contained in:
Gerolf Ziegenhain 2016-10-04 17:32:56 +02:00
parent d4531a3f73
commit b2418e4aa6
1 changed files with 3 additions and 0 deletions

View File

@ -204,6 +204,9 @@ if (i<up_count)
p1 += f1; p1 += f1;
p2 += f2; p2 += f2;
} }
else
{buffer[j]=buffer[j+1]=0.;}
} }
frames = snd_pcm_writei(handle, buffer, FRAMES); frames = snd_pcm_writei(handle, buffer, FRAMES);