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:Seeks to the offset specified (in pcm samples) within the physical bitstream. This function only works for seekable streams. cannam@86:
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. cannam@86:
cannam@86:
cannam@86:
cannam@86:
cannam@86: cannam@86: int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos); 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: