Add MP3 Support

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-01-05 21:12:03 +00:00
parent 2456166647
commit 28d2e8d594
7 changed files with 191 additions and 3 deletions

View File

@@ -38,8 +38,10 @@ int playOpus(const char* in)
}
opusHead = op_head(opusFile, link);
#ifdef DEBUG
printf("\nRate: %lu\tChan: %d\n", opusHead->input_sample_rate,
opusHead->channel_count);
#endif
ndspChnReset(CHANNEL);
ndspChnWaveBufClear(CHANNEL);