Skip to content

Commit 089eed2

Browse files
committed
update pulse audio doc
1 parent 2a139ca commit 089eed2

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

data/doc/4.widgets/2.speaker.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ _Example:_
1616
"width": 20,
1717
"height": "12.5%",
1818
"frame_rate": 60
19-
// "device": "EDIFIER W860NB Pro Analog Stereo",
20-
// "device": "Family 17h/19h HD Audio Controller Analog Stereo",
19+
// "device": "alsa_output.pci-0000_05_00.6.analog-stereo",
2120
// "redraw_only_on_pa_change": true,
2221
}
2322
}
@@ -37,8 +36,14 @@ const `speaker`
3736

3837
## `device`
3938

40-
Device description for sink or source. you can find it with `pamixer --list-sinks/--list-sources` at the end of each line.
41-
Provide `null` to use default sink.
39+
Device name for sink or source.
40+
Empty to use default sink.
41+
42+
_TO FIND SINK NAMES:_
43+
44+
```shell
45+
$ pactl list sinks | grep Name:
46+
```
4247

4348
_Type: `null | string`_
4449
_Default: `null`_

data/doc/4.widgets/3.microphone.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ _Example:_
2020
"height": "12.5%",
2121
"frame_rate": 60,
2222
"fg_color": "#BD93F9"
23+
// "device": "alsa_output.pci-0000_05_00.6.analog-stereo",
24+
// "redraw_only_on_pa_change": true,
2325
}
2426
}
2527
```
@@ -38,8 +40,14 @@ const `microphone`
3840

3941
## `device`
4042

41-
Device description for sink or source. you can find it with `pamixer --list-sinks/--list-sources` at the end of each line.
42-
Provide `null` to use default source.
43+
Device name for sink or source.
44+
Empty to use default source.
45+
46+
_TO FIND SOURCE NAMES:_
47+
48+
```shell
49+
$ pactl list sources | grep Name:
50+
```
4351

4452
_Type: `null | string`_
4553
_Default: `null`_

0 commit comments

Comments
 (0)