vorbisfile documentation |
vorbisfile version 1.25 - 20000615 |
declared in "vorbis/vorbisfile.h";
Returns the total time in seconds of the physical bitstream or a specified logical bitstream.
double ov_time_total(OggVorbis_File *vf,int i); |
OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is nonseekable. total length in seconds of content if i=-1. length in seconds of logical bitstream if i=1 to n.
Typical usage: bytes_read = ov_read(&vf, buffer, 4096,0,2,1,¤t_section)
This reads up to 4096 bytes into a buffer, with signed 16-bit little-endian
samples.
copyright © 2000 vorbis team |
|
vorbisfile documentation |
vorbisfile version 1.25 - 20000615 |