Skip to content
Closed
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
8 changes: 7 additions & 1 deletion src/anthias_viewer/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,13 @@ def get_alsa_audio_device() -> str:
elif device_type in ['pi1', 'pi2', 'pi3']:
return 'sysdefault:CARD=vc4hdmi'
else:
return 'sysdefault:CARD=HID'
# x86 fallback: ALSA card names vary across Intel/AMD/Nvidia
# HDA chipsets, so there is no portable per-SoC name we can
# hard-code. Defer to ALSA's `default` device and let
# operators override via ~/.asoundrc (already bind-mounted
# into the viewer container — see docker-compose.yml.tmpl),
# mirroring the ARM64 path above.
return 'default'


class MediaPlayer:
Expand Down
Loading