X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FAudio%2FOpusfile.pm;fp=lib%2FAudio%2FOpusfile.pm;h=f5a1365fc48f405bcc264077c21319a8b1b8d026;hb=9fc88b294214d5944b6bb5076528f7dd427d6e0c;hp=a6bbc4751e47f78a72df63a33acf8d70c7751248;hpb=87f547cd56293405c21cfca643d4b9eaac0beb5d;p=audio-opusfile.git diff --git a/lib/Audio/Opusfile.pm b/lib/Audio/Opusfile.pm index a6bbc47..f5a1365 100644 --- a/lib/Audio/Opusfile.pm +++ b/lib/Audio/Opusfile.pm @@ -206,6 +206,15 @@ separate function to convert this to seconds. The stream must be seekable to get the total. A negative value is returned if the stream is not seekable. +=item $of->B + +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([I<$link_index>]) Computes the bitrate of the stream (with no arguments), or of an