NAME
Audio::Extract::PCM::Backend::SoX - sox backend for audio extraction
METHODS
pcm_back
See "pcm" in Audio::Extract::PCM::Backend.
SYNOPSIS
Note that this backend does not support read
, i.e. it only supports the pcm
method, which will read all pcm data at once.
SUBROUTINES
get_sox_version
This will return the SoX version as a version object. The result will be cached, i.e. if you install a new sox, this module will not recognize it until it is reloaded or the application using it is restarted.
If no sox program is in the path or sox -h
outputs strange things, undef
will be returned. In the latter case, a warning will be issued.
Currently, the only internal use is to find out whether SoX is above version 13.0.0, because they renamed the "-b"/"-w"/"-l"/"-d"
flags to "-1"/"-2"/"-4"/"-8"
by then. Note that the old flags were still recognized (though deprecated) until SoX 14.1.0.
SEE ALSO
http://sox.sourceforge.net/ - SoX homepage