Custom controls

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

 



Hello all!

I found what I can change Input Source for default sound device via mixer by this commands:
amixer -c 0 -D 'default' set "Input Source",0 Mic
amixer -c 0 -D 'default' set "Input Source",0 Line
etc
Also I have a another PCM device defined in my .asoundrc: http://pastebin.mozilla-russia.org/104988 named my_fullduplex. When I try to change Input Source for my_fullduplex by this commands
amixer -c 0 -D 'my_fullduplex' set "Input Source",0 Mic
amixer -c 0 -D 'my_fullduplex' set "Input Source",0 Line
Input Source changed also for default pcm device. I looking for a way to create custom control for my_fullduplex what allow me change Input Source for 'my_fullduplex' and for 'default' independently.

After that as I hope I can start two instance of my application and select in first 'default' as audio device and in second 'my_fullduplex' as audio device So in different instances of application I can capture voice via microphone connected to Mic jack and microphone connected to Line in jack at same time. But I dont know how to create custom control and it is possible or not. If some one know how to do it please help.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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