Re: Input device captures output (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe I've totally missed what the problem is here, but it appears
this is a common problem/misunderstanding. If that is not the case,
then sorry for oversimplifying your issue.

You should more closely investigate your alsamixer(1) options. Many
consumer soundcards have the ability to capture from a "mix" source
which allows you to mix CD player, AUX/Video sound, system PCM sounds,
Microphone sounds together and record that, or route the mixer output
to your soundsystem. Typically you might use this in a VoIP-chat
program to feed the microphone input directly for capture and
transmission, while separately having a "mix" consisting of your own
voice (so you can hear yourself talk while wearing a headset) and the
caller's voice for playback into your headset.  If through
configuration error, you end up capturing this "mix" source, or if
there's "bleed through" from the headphones back to the microphone
then the person on the other side will end up hearing an annoying
delayed feedback of their own voice. (of course,If you're using
speakers then your microphone input or VoIP software would need to
have some special "feedback elimination" capability to prevent the
caller's voice from from feeding back to the microphone input....)

Note the "Stereo Mixer" option (from amixer(1)):
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Stereo Mixer' 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Front Mic'

So be sure your capture source is set to just "microphone" and not
"mixer" sources.

Consider that in alsamixer(1) there is both a capture (F3-screen) and
playback (F4-screen) source for the microphone input.

This is the "microphone monitor" setting that would mix the microphone
back into what you hear:

Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]

Whereas this is the capture input that must also be set for "Input
Source" as "microphone" or "front mic" and not "stereo mixer":

Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]


Niels
http://nielsmayer.com

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux