Skip to contentSkip to conversation

problem ragarding execution of Latency.c

DISCUSSION mahendra sp 2 participants 2 messages Apr 30, 2003

lore
Share & tools
lore
#0 lore raw

hi ,

I am trying to execute the file latency.c , provided by ALSA.MY
driver is ES 1938 solo-1. I have source code for the driver.

application i want to write is similar to latency.c

I want to write application to capture ansd playback.So i want
to execute latency.c and see the output. I have include asoundlib.h.

The errors it is giving when i give the command

gcc -o latency.out latency.c

"in functio set_hwparams:undefined reference to snd_pcm_hw_params_any snd_strerror,snd_pcm_hw_params_set_format..."

so please help as i am new to linux.
please give replies as i have to complete my project and my deadline in nearing.

thanks,
warm regards,
mahendra

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw
Quoted 11 lines · mahendra sp

hi ,

I am trying to execute the file latency.c , provided by ALSA.MY
driver is ES 1938 solo-1. I have source code for the driver.

application i want to write is similar to latency.c

I want to write application to capture ansd playback.So i want
to execute latency.c and see the output. I have include asoundlib.h.

Quoted 7 lines

The errors it is giving when i give the command

gcc -o latency.out latency.c

"in functio set_hwparams:undefined reference to
snd_pcm_hw_params_any
snd_strerror,snd_pcm_hw_params_set_format..."

cd alsa-lib/test
make latency

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf