ONeill wrote: 
> 
> I tried to compile the alsacap but got some errors, I'll need to look
> into these and try again. I'll post the result once I've it! :) Thanks
> for your fast answer! :)

After putting the library name to the correct position (after source and
object file) the compilation works for me, so instead of:

Code:
--------------------
    gcc -o alsacap -l asound alsacap.c
--------------------


I run:

Code:
--------------------
    gcc -o alsacap alsacap.c -l asound
--------------------


After runnign the command I got the following output:
> *** Scanning for playback devices ***
> Card 0, ID `I82801AAICH', name `Intel 82801AA-ICH'
> Device 0, ID `Intel ICH', name `Intel 82801AA-ICH', 1 subdevices (1
> available)
> 2 channels, sampling rate 8000..48000 Hz
> Sample formats: S16_LE
> Buffer size range from 8 to 16384
> Period size range from 8 to 16384
> 
> Subdevice 0, name `subdevice #0'


------------------------------------------------------------------------
ONeill's Profile: http://forums.slimdevices.com/member.php?userid=66366
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to