[Plib-users] Toying with Ogg
Brought to you by:
sjbaker
From: Cameron M. <li...@to...> - 2001-06-29 04:53:25
|
Hello all, I'm playing around with Ogg Vorbis at the moment, and I'm stuck trying to figure out how to use it with plib. My first goal is to use slSample( Uchar *buff, int leng ) to play the stream. The problem for this newbie is that libvorbisfile converts the .ogg stream into a char[] buffer (PCM) but plib wants a Uchar* buffer. Is there a trick to converting between these datatypes? The first person to implement LoadOggFile() gets to be my hero for a week (unless your name is Steve Baker, then your just more of a hero than last week). ;-) -- Cameron Moore |