I attempted to play stream of OGG file by referring to ctrmus code, but the playback speed becomes a little faster.
Please let me know if you understand the cause.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <tremor/ivorbiscodec.h>
#include...
I tried building the following projects.
https://github.com/CurryGuy/ndsp-example
Then I got an error, what should I do?
error: invalid conversion from 'u32 {aka long unsigned int}' to 'const void*' [-fpermissive]
waveBuf.data_vaddr = reinterpret_cast<u32>(data);
I am using libtremor to read ogg files,but I do not know how to play the loaded file.
Is there a way to play music files imported in 3DS like DirectMusic on windows?