Using a third party library. For example, for sound files either you tap into DirectSound or OpenAL directly, or use something something like BASS, FMOD, and so on.
For picture files, it depends on your graphics system works, as well as what capabilities your widget toolkit has. For example, if you were using OpenGL, you could use a third party library to extract picture data to render in the OpenGL context.
Or if you are using GTK+, you could look through the libraries for what image support they have.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment