Note that the analog is setup as 'card 1' and I want that to be the default as I have no use for hdmi audio. In this case I simply editted /etc/asound.conf to read;
--- my /etc/asound.conf for analog audio ---
defaults.pcm.card 1
defaults.ctl.card 1
--------------------------------------------
Also apps like mpg123 can output to different alsa cards from the commandline without changing defaults in asound.conf. That might be more along the line of what you're after.
Life is good,
Maurice
-o -o -o -o -o o- -o o- o- -o o- -o -o o- o- -o
(\ (\ (\ (\ (\ /) (\ /) /) (\ /) (\ (\ /) /) (\
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
... Fidonet 4K - You load sixteen penguins and what do you get?
--- GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)
* Origin: One of us @ (1:153/7001.2989)