Subject: | Audio fails make on snd_pcm_hw_params_get_buffer_size |
I am using ALSA in the 2.6.x kernels.
/usr/bin/perl /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap ../../Data/typemap linux.xs > linux.xsc && mv linux.xsc linux.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"1.028\" -DXS_VERSION=\"1.028\" -fpic "-I/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE" -DHAVE_ALSA_ASOUNDLIB_H linux.c
linux.xs: In function `audio_prepare':
linux.xs:75: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast
linux.xs:97: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
linux.xs: In function `audio_rate':
linux.xs:211: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast
make[3]: *** [linux.o] Error 1
make[3]: Leaving directory `/usr/src/Audio-1.028/Play/linux'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/src/Audio-1.028/Play'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/Audio-1.028'