aboutsummaryrefslogtreecommitdiffhomepage
path: root/sndfile-stream.lua
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-04-22 13:45:08 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-04-22 13:45:08 +0300
commit727dc577270e0dbbd7110236e129bb4e4dfcd099 (patch)
treead5fbba8618343f788a93b010a3d9822f3ea5791 /sndfile-stream.lua
parent13efbb4af83d366c092635e1da103eb0a4730f54 (diff)
downloadapplause2-727dc577270e0dbbd7110236e129bb4e4dfcd099.tar.gz
libsndfile moved to Github and updated the format enum - it now supports MP3
* SF_FORMAT is now up to date with libsndfile v1.2.2.
Diffstat (limited to 'sndfile-stream.lua')
-rw-r--r--sndfile-stream.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/sndfile-stream.lua b/sndfile-stream.lua
index ba5a0f3..59b4b04 100644
--- a/sndfile-stream.lua
+++ b/sndfile-stream.lua
@@ -4,7 +4,7 @@
local sndfile = require "sndfile"
--- Stream for reading a sound file.
--- This can be used with all file types supported by [libsndfile](http://www.mega-nerd.com/libsndfile/#Features).
+-- This can be used with all file types supported by [libsndfile](http://libsndfile.github.io/libsndfile/#features).
-- @type SndfileStream
SndfileStream = DeriveClass(Stream)
@@ -18,7 +18,7 @@ SndfileStream = DeriveClass(Stream)
-- Number of channels in file.
-- This is ignored unless reading files in ffi.C.SF_FORMAT_RAW.
-- @tparam[opt] SF_FORMAT format
--- Format of file to read ([C type](http://www.mega-nerd.com/libsndfile/api.html)).
+-- Format of file to read ([C type](http://libsndfile.github.io/libsndfile/api.html)).
-- If omitted, this guessed from the file extension.
-- @treturn SndfileStream|MuxStream
-- @see Stream:save