[nama] Re: Importing audio fails

  • From: Joel Roth <joelz@xxxxxxxxx>
  • To: nama@xxxxxxxxxxxxx
  • Date: Wed, 29 Jun 2011 11:36:05 -1000

On Tue, Jun 28, 2011 at 12:02:51AM -0400, S. Massy wrote:
> On Thu, Jun 23, 2011 at 08:47:34PM +0200, Julien Claassen wrote:
> > Hello everyone!
> >   I just discovered, that importing audio fails with the following
> > message. It has been verified on two systems, with latest Nama an
> > Ecasound.
> > Use of uninitialized value in numeric ne (!=) at
> > ../lib/Audio/Nama/Wavinfo_subs.pm line 66. WAV file
> > /home/songs/long/final/test.wav has changed! Updating cache. format:
> > s16_le,2,44100 Undefined subroutine &Audio::Nama::freq called at
> > ../lib/Audio/Nama/Track.pm line 796.
> >   If I try a second time, I only get the last error message. Any
> > ideas? I tried to find the corresponding lines, but couldn't see,
> > what's going wrong there.
> >   Thanks!
> Same problem here. Like Julien, I poked around, but I just can't figure
> out why the sub is said to be undefined when it clearly is and "seems"
> to be called propperly.

Okay, I've fixed this. Subroutine freq() is imported 
into the Audio::Nama::Track namespace, but called
as Audio::Nama::freq() namespace.


 
> Cheers,
> S.M.
> 

-- 
Joel Roth

Other related posts: