Capture "Mix"

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

 



I don't know if there is a method a enable Mix, probably not, because
it depend on hw. Anyway with new alsa drivers, i suggest you to use
the latest one, wsa introduced aloop virtual device, which is usefull
to record what you are playing. Here it is a configuration:

#
#  Split 4 channels stream to play them to 2 soundcards:
#
#  in: LRLR  out: LR -> through main  sound card (with dmix)
#                 LR -> through aloop sound card (with dmix)
#
pcm.multi {
  type multi
  slaves.a.pcm "dmix:0,0" # main sound card
  slaves.a.channels 2
  slaves.b.pcm "dmix:1,0" # aloop sound card
  slaves.b.channels 2
  bindings.0.slave a
  bindings.0.channel 0
  bindings.1.slave a
  bindings.1.channel 1
  bindings.2.slave b
  bindings.2.channel 0
  bindings.3.slave b
  bindings.3.channel 1
}

#
#  Create a 4 channels stream from a normal stereo one
#
#  in: LR capture   out: LRLR
#
pcm.hdaloop_out {
       type route
       slave.pcm "multi"
       slave.channels 4
       ttable.0.0 1
       ttable.1.1 1
       ttable.0.2 1
       ttable.1.3 1
}

#
# default PCM able to play through main sound card and record from
capture device
#
pcm.!default {
   type asym
   playback.pcm {
       type plug
       slave.pcm "hdaloop_out"
   }
   capture.pcm {
       type plug
       slave.pcm "dsnoop:0,0"
   }
}

#
# PCM able to record from capture device and default PCM out
#
pcm.ear {
   type plug
   slave.pcm "dsnoop:1,1"
}

bye,
  Dino


2009/10/23 Vedran Furač <vedranf@xxxxxxxxxxxxxxx>:
> Hi!
>
> I'm trying to record output of one program and previously I did that by
> setting the capture flag on "Mix" control using alsamixer. Now, on new
> computer[1], I don't have "Mix" control anymore. I guess the drivers
> aren't complete yet or something. Is the any way to manually add such
> control using asoundrc? If not, is there any other way of recording
> sound that I head?
>
> [1]
> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
>
> TIA,
>
> Vedran
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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