NAME
Audio::Mad::Synth - Interface to mad_synth structure
SYPNOSIS
my $synth = new Audio::Mad::Synth;
$synth->synth($frame);
my ($left, $right) = $synth->samples();
$synth->mute();
DESCRIPTION
This package provides an interface to the underlying mad_synth
structure used in the decoder library.
METHODS
synth(frame)
Takes the subband samples stored in frame and synthesizes pcm data from them.
samples
Returns the current frames pcm samples in two scalars; left and right. right will be 'undef' while decoding mono streams.
mute
Mutes the current stream of pcm samples in the synthesizer.
AUTHOR
Mark McConnell <mischke@cpan.org>