[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] OSS Card - Microphone
From: |
Martin Brož |
Subject: |
[Linphone-developers] OSS Card - Microphone |
Date: |
Fri, 29 Aug 2003 11:57:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 |
I have had some problems with setting the sensitivity of microphone. So
I studied little the code, found and tried following (but maybe I am not
right).
In a file "osscard.c" in a function "oss_card_set_level()" and
"oss_card_get_level()"
changed
osscmd=SOUND_MIXER_IGAIN;
to
osscmd = SOUND_MIXER_MIC;
In a function "oss_card_get_level()"
changed
ioctl(mix_fd,MIXER_READ(SOUND_MIXER_VOLUME), &p);
to
ioctl (mix_fd, MIXER_READ(osscmd), &p);
Now it seems to be OK.
Martin Broz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] OSS Card - Microphone,
Martin Brož <=