mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Mic and Line In Capture AC97 slots issue
@ 2007-05-09 21:15 Nobin Mathew
  2007-05-10 10:48 ` [alsa-devel] " Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: Nobin Mathew @ 2007-05-09 21:15 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-kernel

http://mailman.alsa-project.org/pipermail/alsa-devel/2007-May/000835.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2007-May/000837.html

the overrun  issue was because my application was not fast enough.

I resolved that problem by disabling capture of AC-Link slot4 in my
ac97 controller.
So capture happens only in slot3.

According to ac97 spec Mic comes in Slot6 of AC-Link.

I am using wolfson wm9713 codec.

In this LineR and LineL are routed to LeftADC and RightADC.

And Mic1 (Mic A) is also coonected to LeftADC and RightADC.


So i am assuming that Mic 1 will come in Slot3 and Slot4.

But my application is taking only mono data, so XRUN will happen.


What is the correct configuration for this?
What should be the configuration if i want to capture both Line IN and Mic?
means AC-Link settings

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] Mic and Line In Capture AC97 slots issue
  2007-05-09 21:15 Mic and Line In Capture AC97 slots issue Nobin Mathew
@ 2007-05-10 10:48 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2007-05-10 10:48 UTC (permalink / raw)
  To: Nobin Mathew; +Cc: alsa-devel, linux-kernel

On Thu, 2007-05-10 at 02:45 +0530, Nobin Mathew wrote:
> http://mailman.alsa-project.org/pipermail/alsa-devel/2007-May/000835.html
> http://mailman.alsa-project.org/pipermail/alsa-devel/2007-May/000837.html
> 
> the overrun  issue was because my application was not fast enough.
> 
> I resolved that problem by disabling capture of AC-Link slot4 in my
> ac97 controller.
> So capture happens only in slot3.
> 
> According to ac97 spec Mic comes in Slot6 of AC-Link.
> 
> I am using wolfson wm9713 codec.
> 
> In this LineR and LineL are routed to LeftADC and RightADC.
> 
> And Mic1 (Mic A) is also coonected to LeftADC and RightADC.
> 
> 
> So i am assuming that Mic 1 will come in Slot3 and Slot4.
> 
> But my application is taking only mono data, so XRUN will happen.
> 
> 
> What is the correct configuration for this?
> What should be the configuration if i want to capture both Line IN and Mic?
> means AC-Link settings
> 

At least 2 AC97 slots must be active in order to capture 2 separate
channels (i.e. Mic1 and Line II). Hence, you will need to enable slots 3
& 4 for _stereo_ audio capture.

Mono capture (1 AC97 slot) of Mic1, Line R & L can be accomplished on
the WM9713 by mixing all the required signals into the Mono mixer and
capturing the mixer output with either the left ADC (slot 3) or the
right ADC (slot 4). The easiest way to set this up is to look at the
audio diagram on page 13 of the datasheet and run alsamixer to change
the mixers. alsactl can then be used to store your mixer settings.

Liam


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-10 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09 21:15 Mic and Line In Capture AC97 slots issue Nobin Mathew
2007-05-10 10:48 ` [alsa-devel] " Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®