LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   /dev/dsp input sound (https://www.linuxquestions.org/questions/programming-9/dev-dsp-input-sound-176655/)

jcrcabre 05-01-2004 09:56 AM

/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!!!

jinksys 05-02-2004 08:05 AM

1) Post your code, I cant help without it.
2) Is your microphone input turned on? Check your mixer settings.
3) Your english made my head hurt.

-=jinksys=-

jcrcabre 05-02-2004 05:28 PM

Firstly, excuse me for my english. I'm Spanish student.

Secondly, How I can set up microphono with "amixer" ALSA command.

Thank you.


All times are GMT -5. The time now is 03:50 AM.