The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Audio::Extract::PCM::Backend::Mad - mad backend for audio extraction

SYNOPSIS

This module makes Audio::Extract::PCM capable to use the libmad library (specifically Audio::Mad) for audio extraction.

Memory usage

Unless Sys::Mmap::Simple is available, the MP3 encoded data will be read into memory completely. This is a few megabytes for typical music files, but may be some hundred MB or more for radio broadcasts, music albums or whatever strange applications you find for this module.

If Sys::MMap::Simple is installed, it will be used automatically.

WARNING

Audio::Mad version 0.6 from 2003 has problems. Consider applying the patch from http://rt.cpan.org/Public/Bug/Display.html?id=42338 until Audio::Mad releases a fixed version.

METHODS

new

See "new" in Audio::Extract::PCM::Backend.

open_back

See "open" in Audio::Extract::PCM::Backend.

read

See "read" in Audio::Extract::PCM::Backend.

used_versions

Returns a hashref with Audio::Mad's version as a value.