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
2 changes: 1 addition & 1 deletion .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ jobs:
generate-rpi-imager-json:
needs: [build, build-2michat, build-respeaker_lite, build-2michat-lva, build-respeaker_lite-lva]
if: always()
uses: ./.github/workflows/create-rpi-image-json.yml
uses: ./.github/workflows/create-rpi-image-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,6 @@ set_control_if_exists() {
# Wait for audio system to be ready
wait_for_audio 30 1

# Check if the card is ok
if wait_for_card_and_control seeed2micvoicec Headphone; then
CARD="seeed2micvoicec"
echo "seeed2micvoicec found"
else
echo "No supported sound card became ready"
exit 1
fi

# Set volume
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 volume
set_volume_safe 1.0

Expand Down
Loading