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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user