cannam@86: cannam@86: cannam@86:
cannam@86:Vorbisfile documentation |
cannam@86: vorbisfile version 1.3.2 - 20101101 |
cannam@86:
declared in "vorbis/vorbisfile.h";
cannam@86: cannam@86:For seekable
cannam@86: streams, this seeks to the given time. For implementing seeking in a player,
cannam@86: this is the only function generally needed. This also updates everything needed within the
cannam@86: decoder, so you can immediately call ov_read() and get data from
cannam@86: the newly seeked to position. This function does not work for unseekable streams.
cannam@86:
cannam@86:
cannam@86:
cannam@86: cannam@86: int ov_time_seek(OggVorbis_File *vf, double s); cannam@86:cannam@86: |
cannam@86:
cannam@86:cannam@86: cannam@86:cannam@86:
- 0 for success
cannam@86: cannam@86:- cannam@86: nonzero indicates failure, described by several error codes: cannam@86:
cannam@86:cannam@86:
- OV_ENOSEEK - Bitstream is not seekable. cannam@86:
cannam@86:- OV_EINVAL - Invalid argument value; possibly called with an OggVorbis_File structure that isn't open. cannam@86:
cannam@86:- OV_EREAD - A read from media returned an error. cannam@86:
cannam@86:- OV_EFAULT - Internal logic fault; indicates a bug or heap/stack cannam@86: corruption. cannam@86:
cannam@86:- OV_EBADLINK - Invalid stream section supplied to libvorbisfile, or the requested link is corrupt. cannam@86:
cannam@86:
copyright © 2000-2010 Xiph.Org |
cannam@86: cannam@86: |
Vorbisfile documentation |
cannam@86: vorbisfile version 1.3.2 - 20101101 |
cannam@86: