I want to return my file pointer for my Ogg Vorbis file back to the start so that when I call ov_read it will return to me the beginning of the sound file.
How can I control the location of the file pointer?
Read The Fine Manual
Functions you seek is under Seeking section - ov_XXX_seek().
my Ogg file is not seekable therefore I cannot use the seek functions.
Is there another way that I can "rewind" my file back to the start?
Only thing I could think of is closing and reopening it. Ogg has some internal states and if you mess with the file pointer you will likely break something. Being open source of course, you could go in their code and iron out a solution that would be faster.
That did the trick. Thanks TheNut.
If you'd like to try out my game, you can download it here: