Re: ekiga's audio input: dsp0.0?

2007-06-17 Thread Mikhail Teterin
On неділя 17 червень 2007, Mikhail Teterin wrote:
= Ekiga has a test settings buttons (under the configuration druid), but it 
= never plays back anything, that I say into the microphone (I tried two of 
= those already).

Figured it out. What I needed to do, was:

mixer recsrc
mixer mic 100 rec 100

Why aren't usable values on by default, when the machine boots, is beyond 
me...

-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ekiga's audio input: dsp0.0?

2007-06-17 Thread Stuart Barkley
On Sun, 17 Jun 2007 at 22:03 -0400, Mikhail Teterin wrote:

 On ?? 17 ??? 2007, Mikhail Teterin wrote:
 = Ekiga has a test settings buttons (under the configuration druid), but it
 = never plays back anything, that I say into the microphone (I tried two of
 = those already).

 Figured it out. What I needed to do, was:

   mixer recsrc

This just shows the current input source.

   mixer mic 100 rec 100

You probably actually want:

% mixer =rec mic
% mixer mic 0 rec 100

Setting mic 100 will also mix your mic input with you main speaker
output all of the time which may cause feedback or other issues.  I
recently was recording something and the speaker output

 Why aren't usable values on by default, when the machine boots, is beyond
 me...

6.2-RELEASE (and other versions) restore sound settings to the value
saved on the previous shutdown.  I'm not sure what the very initial
values are on a freshly installed system (may even be sound device or
BIOS dependent).

I actually have my /etc/rc.d/mixer hacked to not save setting on
shutdown which restores known/desired settings.  (mixer_save=NO).

--- /etc/rc.d/mixer.origFri Jan 12 02:42:21 2007
+++ /etc/rc.d/mixer Sat Jun 16 02:10:55 2007
@@ -34,6 +34,12 @@
 . /etc/rc.subr

 name=mixer
+
+# patch: allow mixer_enable=no in rc.conf
+rcvar=`set_rcvar`
+: ${mixer_enable=YES}
+: ${mixer_save=YES}
+
 stop_cmd=mixer_stop
 start_cmd=mixer_start
 reload_cmd=mixer_start
@@ -92,6 +98,10 @@
 mixer_stop()
 {
local mixer
+
+   if ! checkyesno mixer_save; then
+   return
+   fi

for mixer in `list_mixers`; do
mixer_save ${mixer}

Stuart Barkley
-- 
http://www.4gh.net/tudor/resume.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ekiga's audio input: dsp0.0?

2007-06-17 Thread Andriy Babiy
 I'm struggling with configuring Ekiga's (former gnomemeeting) to work
 with my microphone on FreeBSD-6.2-stable/amd64.

 Ekiga has a test settings buttons (under the configuration druid), but
 it never plays back anything, that I say into the microphone (I tried
 two of those already).

 Ekiga is trying to use /dev/dsp0.0. Is that the right device? Sound(4)
 says, dsprM.N should be used for input -- do I need to force ekiga into
 using that?

 I know, the sound itself works -- including from ekiga -- because I can
 test play the various sounds, that come with the application.

 Does anyone have ekiga working right on FreeBSD-6 (the port's maintainer
 has already told me, he no longer uses the software)? Thanks!

 -mi

 P.S. I use the snd_ich audio module. My /dev/sndstat reads:

 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: AMD-8111 at io 0xc800, 0xcc00 irq 17 bufsz 16384 kld snd_ich
 (1p/1r/2v channels duplex default)

Hi Mikhail,

Have you tried connecting to the ekiga test address? You can find it at 
their site; if I'm not mistaken it's [EMAIL PROTECTED] Try that; it should 
re-play whatever you say to a microphone in a several seconds.
Test Settings buttons in audio/video configuration tabs didn't re-play 
anything for me, so I decided they did something different. Audio/video 
works for me with the default settings; I didn't have to force anything.

HTH,

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]