Dear ALSA users I want to do some pitch shifting in real time, I am using DELTA 44 card. I have installed the ALSA driver and card is working fine. I wrote a program to Read from and write to the card using free OSS API, it works fine, but when I tried to play around with the data buffer, I started getting wierd background noise with the actual signal. I thought that may be because of crapy OSS API, so now I have shifted to ALSA API, and I thought a good point to start will be to test latency.c provided by alsa, but when after changing desired sampling rate, channel nos., data type and compiling it I get following error:-
gcc -static -Wall -pipe -g test_latency1.c -o test_latency1 test_latency1.c:444:16: warning: multi-line string literals are deprecated test_latency1.c:468:16: warning: multi-line string literals are deprecated /tmp/ccXqsvD3.o: In function `setparams_stream': /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:65: undefined reference to `snd_pcm_hw_params_any' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:67: undefined reference to `snd_strerror' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:70: undefined reference to `snd_pcm_hw_params_set_access' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:72: undefined reference to `snd_strerror' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:75: undefined reference to `snd_pcm_hw_params_set_format' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:77: undefined reference to `snd_strerror' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:80: undefined reference to `snd_pcm_hw_params_set_channels' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:82: undefined reference to `snd_strerror' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:86: undefined reference to snd_pcm_hw_params_set_rate_near' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:88: undefined reference to `snd_strerror' /tmp/ccXqsvD3.o: In function `setparams_bufsize': /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:107: undefined reference to `snd_pcm_hw_params_copy' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:109: undefined reference to snd_pcm_hw_params_set_buffer_size_near' /usr/src/alsa/alsa-lib-0.9.2/test/test_latency1.c:111: undefined reference to `snd_strerror' And the list goes on and on. In the end I get this error:- collect2: ld returned 1 exit status make: *** [test_latency1] Error 1 Can anyone tell me what should I do to fix this, I am new to ALSA, any help from you guys will be highly appreciated. Thanks in advance ===== Yours Truly Vineet Agrawal Staff Research Associate III University of San Francisco (UCSF) Ph: 415 5024456 (office) 864 6504260 (mobile) __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user