]> iEval git - audio-opusfile.git/blobdiff - lib/Audio/Opusfile.pm
More functions
[audio-opusfile.git] / lib / Audio / Opusfile.pm
index 0612416f24f17d729b24df26e87acca2b48bee06..e0546ba435f09e2a77f964735c3c909697c5010a 100644 (file)
@@ -46,7 +46,7 @@ my @constants =
 our @EXPORT_OK = @constants;
 our @EXPORT = @constants;
 
-our $VERSION = '0.001';
+our $VERSION = '0.002001';
 
 sub AUTOLOAD {
     # This AUTOLOAD is used to 'autoload' constants from the constant()
@@ -83,6 +83,11 @@ sub new_from_file {
        open_file($file)
 }
 
+sub new_from_memory {
+       my ($class, $buf) = @_;
+       open_memory($buf)
+}
+
 1;
 __END__
 
This page took 0.024861 seconds and 4 git commands to generate.