Hello Clemens,
I understand, that 'pcm.!default()' overwrites default settings of default device, but why not? Or philosophy goes as: create new device and connect programs over their Alsa settings?
But than, a lot of programs don't even have Alsa settings. YOu cant change sound devices, or anything for that matter.
I'd accept this way if programs could be confugred with ALSA over environmental variable, but as you said yourself earlier, feature is pretty much undocumented.
On Mon, May 4, 2015 at 10:29 AM, Legreg Accounts <legreg.accounts@xxxxxxxxx> wrote:
Hello,I guess this is a newbie question, but I have searched and tried several things without result (maybe because I misunderstood something).My problem is that :I have an usb sound that I want to use by default.Which means I also have other sound cards...My ~/.asoundrc is as follow:pcm.!default {type plugslave.pcm {type hwcard 0device 0}}But, sometimes, the device order is modified, which I can confirm with "aplay -l".I have tried methods here without result:Then I just tried to define the index to 0 in my /etc/modprobe.d/alsa-base.conf, but it doesn't seem to change anything...# autoloader aliasesinstall sound-slot-0 /sbin/modprobe snd-card-0install sound-slot-1 /sbin/modprobe snd-card-1install sound-slot-2 /sbin/modprobe snd-card-2install sound-slot-3 /sbin/modprobe snd-card-3install sound-slot-4 /sbin/modprobe snd-card-4install sound-slot-5 /sbin/modprobe snd-card-5install sound-slot-6 /sbin/modprobe snd-card-6install sound-slot-7 /sbin/modprobe snd-card-7# Cause optional modules to be loaded above generic modulesinstall snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }# Keep snd-pcsp from beeing loaded as first soundcard#options snd-pcsp index=1# Keep snd-usb-audio from beeing loaded as first soundcardoptions snd-usb-audio index=0# Prevent abnormal drivers from grabbing index 0options bt87x index=-2options cx88_alsa index=-2options snd-atiixp-modem index=-2options snd-intel8x0m index=-2options snd-via82xx-modem index=-2Do you an idea of what the problem could be?Thanks in advance (and sorry for my English)...
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user