Mark McConnell > Audio-Mad-0.6 > Audio::Mad::Resample

Download:
Audio-Mad-0.6.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

  Audio::Mad::Resample - Resampling routines for mad_fixed_t data

SYPNOSIS ^

  my $resample = new Audio::Mad::Resample (44100, 48000);
  my ($left, $right) = $resample->resample($d_left, $d_right);
  
  $resample->init(22050, 8000);
  if ($resample->mode() == 2) { print "no resampling needed" }

DESCRIPTION ^

  This module provides a means of changing the sampling rate
  of streams of mad_fixed_t data produced by the underlying
  library.
  
  The underlying module resamples the streams using a linear
  resampling method,  provided with the mad-0.14.2b 
  distribution.  (Thanks,  Rob)

METHODS ^

AUTHOR ^

  Mark McConnell <mischke@cpan.org>
syntax highlighting: