zentara has asked for the wisdom of the Perl Monks concerning the following question:

Hi This may be stretching the OT rule, but I'm trying to compile the Audio-1.028 module, with Perl5.8.3 and ALSA-1.0.4

It used to work with ALSA-0.9.7(earlier version). Now when I try to make, it gives an error:

linux.xs:97: error: too few arguments to function `snd_pcm_hw_params_g +et_buffer_size'
The line 97 is:
dev->chunk = snd_pcm_hw_params_get_buffer_size (dev->hwparams);
It seems that that function is from /usr/include/alsa/pcm.h Does anyone know what extra parameters need to be added to make this work correctly? I have tried a few WAG's like (dev->hwparams, dev->samp_rate), and the module will then compile, but segfault when run. Any clues?

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Did you check rt?
by PodMaster (Abbot) on May 02, 2004 at 03:45 UTC
    I know it won't help you directly, but at least it lets you know that the module's author is working on it: Audio fails make on snd_pcm_hw_params_get_buffer_size

    PS - I don't know if you're rcook :)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Thanks, learned something new today. http://rt.cpan.org

      I have to memorize that url.


      I'm not really a human, but I play one on earth. flash japh