search for: sdl_close_func

Displaying 1 result from an estimated 1 matches for "sdl_close_func".

2004 Apr 17
1
Reading OGG embedded in a pack file
...{ OggVorbis_File vf; ov_callbacks callbacks; vorbis_info *info; callbacks.read_func = sdl_read_func; callbacks.seek_func = sdl_seek_func; // Will setting this to NULL let me read from the middle of a stream? callbacks.tell_func = sdl_tell_func; callbacks.close_func = sdl_close_func; if ( ov_open_callbacks( pStream, &vf, NULL, 0, callbacks)==0 ) { // Valid OGG data, so do some code here to read it in... // Get our OGG info info = ov_info( &vf, -1 ); } } After looking at the documentation I thought I could change the 4th parameter...