I guess you've already found the answer -
http://phonon.kde.org/cms/1032. But my question is about the answer itself - does Phonon list only these devices that are softvol plugins? I tried setting a name and a hint to "type plug", but it still wasn't listed in Phonon, although it showed up in "aplay -L". I don't want to use softvol, because it seems that it causes ALSA to take a lot more CPU (ie. I hear some weird lags and glitches in Amarok (using ALSA directly)) - could softvol really cause that?
My .asoundrc looks like this (I have E-MU 0404 USB and I guess the recording part doesn't still work):
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave {
pcm "plugAsym"
}
control {
name "SoftMaster"
card USB
}
hint {
show on
description "E-MU 0404 USB SoftMaster"
}
}
pcm.plugAsym {
type plug
slave.pcm "asymUsb"
}
pcm.asymUsb {
type asym
playback.pcm "dmixUsb"
capture.pcm "dsnoop"
}
pcm.dmixUsb {
type dmix
ipc_key 1024
slave {
pcm "pcmUsb"
period_size 512
}
}
pcm.pcmUsb {
type hw
card USB
}
pcm.rec_left {
type dsnoop
ipc_key 2048
slave {
pcm "pcmUsb"
channels 2
}
bindings.0 0
}
pcm.rec_right {
type dsnoop
ipc_key 2048
slave {
pcm "pcmUsb"
channels 2
}
bindings.0 1
}
|