Yes, this is just an example. If you compile it you will note that the performance is not very good, it skips lots of frames.
But it shows you what to call. I suggest you use 2 different threads for sound and video. Also, use a buffering approach to get better results. It is far from simple.
Good luck!
How to play AVI file with sound in OpenGL!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement