mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pw-top: remove some slashes to avoid confusion
Update man page
This commit is contained in:
parent
ffc09ce55e
commit
e9b7667b55
2 changed files with 8 additions and 2 deletions
|
|
@ -133,6 +133,12 @@ FORMAT
|
||||||
If the stream of driver has a different rate than the graph, resampling will
|
If the stream of driver has a different rate than the graph, resampling will
|
||||||
be done.
|
be done.
|
||||||
|
|
||||||
|
For raw audio formats, the layout is <sampleformat> <channels> <samplerate>.
|
||||||
|
|
||||||
|
For DSD formats, the layout is <dsd-rate> <channels>.
|
||||||
|
|
||||||
|
For Video formats, the layout is <pixelformat> <width>x<height>.
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
Name assigned to the device/node, as found in *pw-dump* node.name
|
Name assigned to the device/node, as found in *pw-dump* node.name
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ static void node_param(void *data, int seq,
|
||||||
{
|
{
|
||||||
struct spa_audio_info_raw info;
|
struct spa_audio_info_raw info;
|
||||||
if (spa_format_audio_raw_parse(param, &info) >= 0) {
|
if (spa_format_audio_raw_parse(param, &info) >= 0) {
|
||||||
snprintf(n->format, sizeof(n->format), "%6.6s/%d %-6d",
|
snprintf(n->format, sizeof(n->format), "%6.6s %d %d",
|
||||||
spa_debug_type_find_short_name(spa_type_audio_format, info.format),
|
spa_debug_type_find_short_name(spa_type_audio_format, info.format),
|
||||||
info.channels, info.rate);
|
info.channels, info.rate);
|
||||||
}
|
}
|
||||||
|
|
@ -189,7 +189,7 @@ static void node_param(void *data, int seq,
|
||||||
{
|
{
|
||||||
struct spa_audio_info_dsd info;
|
struct spa_audio_info_dsd info;
|
||||||
if (spa_format_audio_dsd_parse(param, &info) >= 0) {
|
if (spa_format_audio_dsd_parse(param, &info) >= 0) {
|
||||||
snprintf(n->format, sizeof(n->format), "DSD%d/%2d ",
|
snprintf(n->format, sizeof(n->format), "DSD%d %d ",
|
||||||
8 * info.rate / 44100, info.channels);
|
8 * info.rate / 44100, info.channels);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue