distribution/packages/hardware/quirks/devices/ATARI VCS 800 Onyx/001-audio
fewtarius fa5359d937
* Complete work for the Audio reset feature (Danger Zone).
* Make fbwidth and fbheight available as a function, and ensure it supports
  rotated displays.
2023-07-29 00:44:10 +00:00

13 lines
316 B
Bash

#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
MYDEVICE=$(get_setting system.audiodevice)
if [ -z "${MYDEVICE}" ] || \
[ ! -e "/storage/.config/asound.conf" ]
then
### Set the audio device
set-audio set "HDMI (0:3)"
fi