This forum has been archived. All content is frozen. Please use KDE Discuss instead.

choose a virtual alsa device with Amarok 2.1.1

Tags: None
(comma "," separated)
stuart45
Registered Member
Posts
6
Karma
0
OS
I'm using Amarok 2 with Gnome and I cannot see any way to configure Amarok2 to use a virtual alsa sound device.

I want to use Amarok to send output to three sound cards (setup as described in the wiki) using the alsa "route" plugin.

I was able to do this with Amarok 1 but in Amarok 2 the "Sound and Video Configuration" popup just lets me change the order of my different physical sound cards. It does not let be choose a virtual device or enter its name. How can I do this? Thanks.

http://amarok.kde.org/wiki/FAQ#I_have_a ... default.3F
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS
In the Sound and Video Configuration popup is a checkbox "Show advanced devices", did you try that?


Image
stuart45
Registered Member
Posts
6
Karma
0
OS
I clicked on "Settings", "Configure Amarok...", "Playback", "Configure" (under "Sound system configuration" which gave me the "Sound and Video Configuration Window". "Show advanced devices" is selected. There are 12 physical sound cards in the list (various interfaces to my 4 physical sound cards) and "PulseAudio", "Jack Audio Connection Kit" and "Esound (ESD). None of the many virtual alsa devices that I have defined in ~/.asoundrc are visible.

I have made the list the same for all the "Audio Output" options. I guess that is the "Music" option that it used by Amarok 2.1.1.

I have the Amarok that is in Debian unstable (2.1.1-4).

I'm using the Xine backend. The GStreamer Backend does not work at all. I can move it to the top of the Backend list but when I do I don't get any music, I just get

(<unknown>:2094): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed

and then when I quit Amarok I get the "Amarok - The KDE Crash handler" window.
darkskiez
Registered Member
Posts
1
Karma
0
OS
I managed to figure out what was needed here to get a virtual alsa device listed, you need to add a description to your virtual device in your asound.conf / .asoundrc , eg, I use

Code: Select all
# for 5.1 speakers
pcm.ch51dup {
         slave.pcm surround51
         slave.channels 6
         type route
         ttable.0.0 1
         ttable.1.1 1
         ttable.0.2 1
         ttable.1.3 1
         ttable.0.4 0.5
         ttable.1.4 0.5
         ttable.0.5 0.5
         ttable.1.5 0.5

         hint { 
                 show {
                        @func refer
                                name defaults.namehint.basic
                 }
                 description "2 Channel Upmix to 5.1"
         }
}
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Amarok 2.1.1 is very outdated. Please upgrade to 2.2.2, it comes with many advantages.

On Ubuntu:
http://www.kubuntu.org/news/amarok-2.2.2

Otherwise, our download page:
http://amarok.kde.org/wiki/Download


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]