/dev/dsp input sound
Hello!!!
I'm a C programmer and I have done to "sing" /dev/dsp, but previosly, I must enregister micro sound, ok? I know in C it should be with a simple read-->
....
int dev_dsp=open ("/dev/dsp", O_RD_WR);
read (dev_dsp, buffer, sizeof (buffer));
....
write (dev_dsp, buffer, sizeof( buffer));
....
,but I can't receive sound and can't register me when I talk to micro.
I should like me you say me how to configure the micro or ALSA or Gentoo Linux or anything.
Thanks you!!!
|