search for: videobuffer

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

2010 Aug 15
2
Beginner Hurdles
...m using an RGBA texture in OpenGL and a buffered sound channel class a made on top of OpenAL. I believe the code largely speaks for itself, but included comments on the confusing parts: //////////////////////////////////////// Video video; // my wrapper class for Ogg Theora ImageBuffer videoBuffer; // my wrapper class for OpenGL texture BufferSoundChannel bufChan; // my wrapper class for OpenAL if( video.Load( "~/Desktop/ogg-theora-tests/320x240.ogg" ) != noErr ) ErrorDialog( "Couldn't load file" ); double startTime = video.HasAudio() ? 0 : bufChan.GetTime(); do...