Original Post
All I want to do is get the buffer data and basic info like the number of channels. By looking through the ffmpeg header file I was able to figure out how to open a file but that's about it. Here is what I have so far:
Now how do I extract the data and get info from a audio file?
AVFormatContext *pFormatCtx = avformat_alloc_context();
avformat_open_input(&pFormatCtx, "..\\media\\audio\\glacier.ogg", NULL, NULL);
// ...
av_close_input_file(pFormatCtx);Now how do I extract the data and get info from a audio file?