1 |
Jorge, |
2 |
Sorry for top posting. I'm at a site with limited capabilities at the |
3 |
moment. Please forgive. |
4 |
|
5 |
I'm slightly confused by the question but before I get into that please |
6 |
provide the output of |
7 |
|
8 |
cat /proc/asound/cards |
9 |
cat /proc/asound/modules |
10 |
|
11 |
What desktop environment are you using? |
12 |
|
13 |
What kernel are you running? |
14 |
|
15 |
Thanks, |
16 |
Mark |
17 |
|
18 |
On Wed, Apr 22, 2020 at 2:57 PM Jorge Almeida <jjalmeida@×××××.com> wrote: |
19 |
|
20 |
> ... desperately needed. |
21 |
> |
22 |
> The setup: |
23 |
> -- a microphone connected to an audio interface, which connects to an |
24 |
> USB port in the computer. The interface works like a USB sound card, |
25 |
> at least regarding sound capture. It works: I can record my voice with |
26 |
> arecord into a wav file, and then play the file with aplay. |
27 |
> -- a (motherboard) sound card with a toslink output connected to an |
28 |
> external DAC/amplifier. It works: playing wav, youtube, etc. |
29 |
> |
30 |
> The problem: |
31 |
> I need to use it for voice chat. I tried slack and discord (the latter |
32 |
> both via browser and app--there's a package in portage--, the former |
33 |
> only via browser). No sound, neither outbound nor inbound. |
34 |
> None of these programs provides a way to tell them which devices to |
35 |
> use, so I assume they just go for some default. |
36 |
> I don't have a .asoundrc file. Contents of /etc/alsa/conf.d/ are not |
37 |
> customized. |
38 |
> Maybe some ALSA wiz that happens to be familiar with discord can |
39 |
> suggest something? |
40 |
> |
41 |
> Thanks |
42 |
> |
43 |
> Jorge Almeida |
44 |
> |
45 |
> $ cat /proc/asound/devices |
46 |
> 1: : sequencer |
47 |
> 2: [ 0- 0]: digital audio playback |
48 |
> 3: [ 0- 0]: digital audio capture |
49 |
> 4: [ 0- 1]: digital audio playback |
50 |
> 5: [ 0- 2]: digital audio capture |
51 |
> 6: [ 0- 3]: digital audio playback |
52 |
> 7: [ 0] : control |
53 |
> 8: [ 1- 0]: digital audio playback |
54 |
> 9: [ 1- 0]: digital audio capture |
55 |
> 10: [ 1] : control |
56 |
> 33: : timer |
57 |
> |
58 |
> $ arecord -L |
59 |
> null |
60 |
> Discard all samples (playback) or generate zero samples (capture) |
61 |
> sysdefault:CARD=PCH |
62 |
> HDA Intel PCH, Generic Analog |
63 |
> Default Audio Device |
64 |
> front:CARD=PCH,DEV=0 |
65 |
> HDA Intel PCH, Generic Analog |
66 |
> Front speakers |
67 |
> usbstream:CARD=PCH |
68 |
> HDA Intel PCH |
69 |
> USB Stream Output |
70 |
> sysdefault:CARD=CODEC |
71 |
> USB Audio CODEC, USB Audio |
72 |
> Default Audio Device |
73 |
> front:CARD=CODEC,DEV=0 |
74 |
> USB Audio CODEC, USB Audio |
75 |
> Front speakers |
76 |
> surround21:CARD=CODEC,DEV=0 |
77 |
> USB Audio CODEC, USB Audio |
78 |
> 2.1 Surround output to Front and Subwoofer speakers |
79 |
> surround40:CARD=CODEC,DEV=0 |
80 |
> USB Audio CODEC, USB Audio |
81 |
> 4.0 Surround output to Front and Rear speakers |
82 |
> surround41:CARD=CODEC,DEV=0 |
83 |
> USB Audio CODEC, USB Audio |
84 |
> 4.1 Surround output to Front, Rear and Subwoofer speakers |
85 |
> surround50:CARD=CODEC,DEV=0 |
86 |
> USB Audio CODEC, USB Audio |
87 |
> 5.0 Surround output to Front, Center and Rear speakers |
88 |
> surround51:CARD=CODEC,DEV=0 |
89 |
> USB Audio CODEC, USB Audio |
90 |
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers |
91 |
> surround71:CARD=CODEC,DEV=0 |
92 |
> USB Audio CODEC, USB Audio |
93 |
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers |
94 |
> iec958:CARD=CODEC,DEV=0 |
95 |
> USB Audio CODEC, USB Audio |
96 |
> IEC958 (S/PDIF) Digital Audio Output |
97 |
> usbstream:CARD=CODEC |
98 |
> USB Audio CODEC |
99 |
> USB Stream Output |
100 |
> |
101 |
> $ aplay -L |
102 |
> null |
103 |
> Discard all samples (playback) or generate zero samples (capture) |
104 |
> sysdefault:CARD=PCH |
105 |
> HDA Intel PCH, Generic Analog |
106 |
> Default Audio Device |
107 |
> front:CARD=PCH,DEV=0 |
108 |
> HDA Intel PCH, Generic Analog |
109 |
> Front speakers |
110 |
> surround21:CARD=PCH,DEV=0 |
111 |
> HDA Intel PCH, Generic Analog |
112 |
> 2.1 Surround output to Front and Subwoofer speakers |
113 |
> surround40:CARD=PCH,DEV=0 |
114 |
> HDA Intel PCH, Generic Analog |
115 |
> 4.0 Surround output to Front and Rear speakers |
116 |
> surround41:CARD=PCH,DEV=0 |
117 |
> HDA Intel PCH, Generic Analog |
118 |
> 4.1 Surround output to Front, Rear and Subwoofer speakers |
119 |
> surround50:CARD=PCH,DEV=0 |
120 |
> HDA Intel PCH, Generic Analog |
121 |
> 5.0 Surround output to Front, Center and Rear speakers |
122 |
> surround51:CARD=PCH,DEV=0 |
123 |
> HDA Intel PCH, Generic Analog |
124 |
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers |
125 |
> surround71:CARD=PCH,DEV=0 |
126 |
> HDA Intel PCH, Generic Analog |
127 |
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers |
128 |
> iec958:CARD=PCH,DEV=0 |
129 |
> HDA Intel PCH, Generic Digital |
130 |
> IEC958 (S/PDIF) Digital Audio Output |
131 |
> hdmi:CARD=PCH,DEV=0 |
132 |
> HDA Intel PCH, Generic Digital |
133 |
> HDMI Audio Output |
134 |
> usbstream:CARD=PCH |
135 |
> HDA Intel PCH |
136 |
> USB Stream Output |
137 |
> sysdefault:CARD=CODEC |
138 |
> USB Audio CODEC, USB Audio |
139 |
> |
140 |
> I know iec958:CARD=CODEC,DEV=0 is the appropriate device for capture |
141 |
> and that iec958:CARD=PCH,DEV=0 is the appropriate device for playback, |
142 |
> because it's what works with -D. |
143 |
> |
144 |
> |