Add libvorbisdec to deps (closes #162)

This commit is contained in:
2018-05-13 09:21:41 -04:00
parent fa37bcec99
commit 83887bcb8e
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@
// Play a given audio struct
Result update_audio(audio_s *audio)
{
long size = BUF_TO_READ - audio->data_read;
long size = audio->wave_buf[audio->buf_pos].nsamples * 4 - audio->data_read;
DEBUG("Audio Size: %ld\n", size);
if (audio->wave_buf[audio->buf_pos].status == NDSP_WBUF_DONE) // only run if the current selected buffer has already finished playing
{