Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ set_control_if_exists() {
if wait_for_card_and_control seeed2micvoicec Headphone; then
CARD="seeed2micvoicec"
echo "seeed2micvoicec found"
elif wait_for_card_and_control Lite Headphone; then
CARD="Lite"
echo "Lite found"
else
echo "No supported sound card became ready"
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,6 @@ set_control_if_exists() {
return 0
}

if wait_for_card_and_control seeed2micvoicec Headphone; then
CARD="seeed2micvoicec"
echo "seeed2micvoicec found"
elif wait_for_card_and_control Lite Headphone; then
CARD="Lite"
echo "Lite found"
else
echo "No supported sound card became ready"
exit 1
fi

set_control_if_exists "$CARD" Headphone 100%
set_control_if_exists "$CARD" Speaker 100%
set_control_if_exists "$CARD" Master 100%
set_control_if_exists "$CARD" PCM 100%

# Set pipewire sink to 100%
wpctl set-volume @DEFAULT_AUDIO_SINK@ 1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,6 @@ set_control_if_exists() {
return 0
}

if wait_for_card_and_control seeed2micvoicec Headphone; then
CARD="seeed2micvoicec"
echo "seeed2micvoicec found"
elif wait_for_card_and_control Lite Headphone; then
CARD="Lite"
echo "Lite found"
else
echo "No supported sound card became ready"
exit 1
fi

set_control_if_exists "$CARD" Headphone 100%
set_control_if_exists "$CARD" Speaker 100%
set_control_if_exists "$CARD" Master 100%
set_control_if_exists "$CARD" PCM 100%

# Set pipewire sink to 100%
wpctl set-volume @DEFAULT_AUDIO_SINK@ 1.0

Expand Down
Loading