LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-01-2004, 09:56 AM   #1
jcrcabre
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
/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!!!
 
Old 05-02-2004, 08:05 AM   #2
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
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=-
 
Old 05-02-2004, 05:28 PM   #3
jcrcabre
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Firstly, excuse me for my english. I'm Spanish student.

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

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
no sound from /dev/dsp Dargason Linux - Software 24 01-06-2006 02:49 PM
problem in giving sound input through "/dev/dsp" b0nd Linux - Newbie 1 03-14-2005 10:16 PM
/dev/dsp input sound jcrcabre Linux - General 1 05-01-2004 12:32 PM
/dev/dsp input sound jcrcabre Linux - Software 1 05-01-2004 11:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration