op_raw_total(of, li = -1)
Audio::Opusfile of;
int li;
+POSTCALL:
+ if(RETVAL < 0)
+ croak("op_current_link returned error %ld\n", RETVAL);
long
op_pcm_total(of, li = -1)
Audio::Opusfile of;
int li;
+POSTCALL:
+ if(RETVAL < 0)
+ croak("op_current_link returned error %ld\n", RETVAL);
Audio::Opusfile::Head
op_head(of, li = -1)
Audio::Opusfile of;
int li;
-# op_current_link not exported until we export the decoding API
+int
+op_current_link(of)
+ Audio::Opusfile of;
+POSTCALL:
+ if(RETVAL < 0)
+ croak("op_current_link returned error %ld\n", RETVAL);
int
op_bitrate(of, li = -1)
Audio::Opusfile of;
int li;
+POSTCALL:
+ if(RETVAL < 0)
+ croak("op_bitrate returned error %ld\n", RETVAL);
long
op_bitrate_instant(of)
The stream must be seekable to get the total. A negative value is
returned if the stream is not seekable.
+=item $of->B<current_link>
+
+Retrieve the index of the current link.
+
+This is the link that produced the data most recently read by
+op_read_float() or its associated functions, or, after a seek, the
+link that the seek target landed in. Reading more data may advance the
+link index (even on the first read after a seek).
+
=item $of->B<bitrate>([I<$link_index>])
Computes the bitrate of the stream (with no arguments), or of an