[vorbis-dev] Problem with 'ov_open'...
programmer_ted
ted at fusionapple.com
Mon Feb 9 17:02:45 PST 2004
<correctness nazi>And aside from that, it's not OGG, it's Ogg, and you're
not playing an "Ogg," you're playing a "Vorbis!"</correctness nazi>
At 01:33 PM 2/9/2004, you wrote:
>On Mon, Feb 09, 2004 at 02:49:09PM -0500, Ryan Ashley wrote:
>
>[snip]
> > OggVorbis_File *OVFile;
>[snip]
> > if((ov_open(SoundFile, OVFile, NULL, 0)) < 0)
> > return false;
>
>Umm, OVFile could be pointing anywhere when you pass it to ov_open.
>I think you mean:
>
>} OggVorbis_File OVFile;
>}
>} if((ov_open(SoundFile, &OVFile, NULL, 0)) < 0)
>} return false;
>
>See also vorbisfile_example.c in the libvorbis examples directory.
>
>Hope this helps,
>
>Tom.
>--- >8 ----
>List archives: http://www.xiph.org/archives/
>Ogg project homepage: http://www.xiph.org/ogg/
>To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
>containing only the word 'unsubscribe' in the body. No subject is needed.
>Unsubscribe messages sent to the list will be ignored/filtered.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list