Getting the OggVorbis_File from SDL_mixer problem

I’ve got a little problem with SDL_mixer:

I have to get the OggVorbis_File struct from a file loaded with SDL_mixer.

But I cannot access Mix_Music::data.ogg->vf without redefining the
internal _Mix_Music and Ogg_music structs in my own code. (They aren’t
defined in SDL_mixer.h, as they’re probably not intended for external
use.)

But redefining them might cause problems with upcoming versions of
SDL_mixer, so if possible, I’d like to avoid that.

Is there another way to retrieve this data? If not, how likely is it that
those two structs change in future versions?

Any thoughts on this are appreciated,

Kai

I’ve got a little problem with SDL_mixer:

I have to get the OggVorbis_File struct from a file loaded with SDL_mixer.

But I cannot access Mix_Music::data.ogg->vf without redefining the
internal _Mix_Music and Ogg_music structs in my own code. (They aren’t
defined in SDL_mixer.h, as they’re probably not intended for external
use.)

Right.

Is there another way to retrieve this data? If not, how likely is it that
those two structs change in future versions?

The SDL_mixer struct probably won’t change without changing the major
version of the SDL_mixer library. As for Ogg Vorbis, I have no idea
how stable the internals of that library are.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software