← 返回命令列表

Linux command

spa-acp-tool 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

spa-acp-tool list

Probe

spa-acp-tool card [card_id]

Example

spa-acp-tool list-profiles [card_id]

Set

spa-acp-tool set-profile [profile_id]

Example

spa-acp-tool list-devices [card_id]

Get volume

spa-acp-tool get-volume [device_id]

Set volume

spa-acp-tool set-volume [device_id] [volume]

Toggle mute

spa-acp-tool toggle-mute [device_id]

说明

spa-acp-tool is a debug utility for testing ALSA Card Profile (ACP) probing without running the full PipeWire daemon. It helps diagnose issues where PipeWire incorrectly configures ALSA card profiles. The tool allows interactive exploration of sound cards, profiles, ports, and devices. It can test volume controls and mute states to verify proper hardware configuration before PipeWire uses the settings.

参数

-h, --help
Display help information
-v, --verbose
Increase output verbosity
-c, --card _number_
Select specific card for probing
-p, --properties _key=value_
Pass additional properties to ACP

FAQ

What is the spa-acp-tool command used for?

spa-acp-tool is a debug utility for testing ALSA Card Profile (ACP) probing without running the full PipeWire daemon. It helps diagnose issues where PipeWire incorrectly configures ALSA card profiles. The tool allows interactive exploration of sound cards, profiles, ports, and devices. It can test volume controls and mute states to verify proper hardware configuration before PipeWire uses the settings.

How do I run a basic spa-acp-tool example?

Run `spa-acp-tool list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h, --help do in spa-acp-tool?

Display help information