Fix pause display

Fixed an issue where the "Paused" text would still be displayed after
un-pausing a WAV file.

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2016-12-29 20:45:58 +00:00
parent 40bb881172
commit 42b61ba7f0
2 changed files with 3 additions and 3 deletions

View File

@@ -400,6 +400,8 @@ int playWav(const char *wav)
continue;
}
printf("\33[2K\r");
if(waveBuf[0].status == NDSP_WBUF_DONE)
{
read = fread(buffer1, 1, BUFFER_SIZE, file);