Skip to content

Commit 0ba60e9

Browse files
committed
chore:fix typos in examples and ci, format in Cargo.toml and add documents
1 parent da111e4 commit 0ba60e9

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/actions/determine-msrv/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
PLATFORM_MSRV="${{ inputs.platform-msrv }}"
3333
JACK_MSRV="${{ inputs.jack-msrv }}"
3434
PULSEAUDIO_MSRV="${{ inputs.pulseaudio-msrv }}"
35-
PIPEWIRE_MSRV="${{ inputs.pulseaudio-msrv }}"
35+
PIPEWIRE_MSRV="${{ inputs.pipewire-msrv }}"
3636
# Use sort -V to find the maximum version
3737
VERSIONS="$PLATFORM_MSRV $JACK_MSRV"
3838
if [ -n "$PULSEAUDIO_MSRV" ]; then

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ pulseaudio = ["dep:pulseaudio", "dep:futures"]
3131
# Platform: Linux, DragonFly BSD, FreeBSD, NetBSD, macOS, Windows
3232
# Note: JACK must be installed separately on all platforms
3333
jack = ["dep:jack"]
34+
35+
# PipeWire backend
36+
# Provides audio I/O on Linux and some BSDs via the PipeWire multimedia server
37+
# Requires: PipeWire server and client libraries installed on the system
38+
# Platform: Linux, DragonFly BSD, FreeBSD, NetBSD
3439
pipewire = ["dep:pipewire"]
3540

3641
# Audio thread priority elevation
@@ -104,7 +109,7 @@ audio_thread_priority = { version = "0.34", optional = true }
104109
jack = { version = "0.13", optional = true }
105110
pulseaudio = { version = "0.3", optional = true }
106111
futures = { version = "0.3", optional = true }
107-
pipewire = { version = "0.9", optional = true, features = ["v0_3_49"]}
112+
pipewire = { version = "0.9", optional = true, features = ["v0_3_49"] }
108113

109114
[target.'cfg(target_vendor = "apple")'.dependencies]
110115
mach2 = "0.5"

examples/beep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct Opt {
3232
#[arg(long, default_value_t = false)]
3333
pulseaudio: bool,
3434

35-
/// Use the pipewire host. Requires `--feature pipewire`
35+
/// Use the Pipewire host. Requires `--features pipewire`
3636
#[arg(long, default_value_t = false)]
3737
pipewire: bool,
3838
}

examples/record_wav.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct Opt {
2828
#[arg(long, default_value_t = false)]
2929
pulseaudio: bool,
3030

31-
/// Use the pipewire host. Requires `--feature pipewire`
31+
/// Use the Pipewire host. Requires `--features pipewire`
3232
#[arg(long, default_value_t = false)]
3333
pipewire: bool,
3434
}

0 commit comments

Comments
 (0)