Merge pull request #735 from fewtarius/dev

Fixes
This commit is contained in:
fewtarius 2022-11-13 20:25:07 -05:00 committed by GitHub
commit 7f4ebe3ea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 16 deletions

View file

@ -2690,7 +2690,7 @@ input_recording_toggle_axis = "nul"
input_recording_toggle_btn = "nul" input_recording_toggle_btn = "nul"
input_recording_toggle_mbtn = "nul" input_recording_toggle_mbtn = "nul"
input_remap_binds_enable = "true" input_remap_binds_enable = "true"
input_remapping_directory = "~/.config/retroarch/config/remaps" input_remapping_directory = "~/remappings"
input_reset = "h" input_reset = "h"
input_reset_axis = "nul" input_reset_axis = "nul"
input_reset_btn = "nul" input_reset_btn = "nul"

View file

@ -28,8 +28,8 @@ state.rockchipes8316c {
control.3 { control.3 {
iface MIXER iface MIXER
name 'Headphone Mixer Volume' name 'Headphone Mixer Volume'
value.0 10 value.0 0
value.1 10 value.1 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -37,14 +37,14 @@ state.rockchipes8316c {
range '0 - 11' range '0 - 11'
dbmin -1200 dbmin -1200
dbmax 0 dbmax 0
dbvalue.0 -150 dbvalue.0 -1200
dbvalue.1 -150 dbvalue.1 -1200
} }
} }
control.4 { control.4 {
iface MIXER iface MIXER
name 'Playback Polarity' name 'Playback Polarity'
value Normal value 'R Invert'
comment { comment {
access 'read write' access 'read write'
type ENUMERATED type ENUMERATED
@ -57,9 +57,9 @@ state.rockchipes8316c {
} }
control.5 { control.5 {
iface MIXER iface MIXER
name 'Master Playback Volume' name 'DAC Playback Volume'
value.0 152 value.0 0
value.1 152 value.1 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -67,8 +67,8 @@ state.rockchipes8316c {
range '0 - 192' range '0 - 192'
dbmin -9999999 dbmin -9999999
dbmax 0 dbmax 0
dbvalue.0 -2000 dbvalue.0 -9999999
dbvalue.1 -2000 dbvalue.1 -9999999
} }
} }
control.6 { control.6 {
@ -95,7 +95,7 @@ state.rockchipes8316c {
control.8 { control.8 {
iface MIXER iface MIXER
name 'DAC Notch Filter Switch' name 'DAC Notch Filter Switch'
value false value true
comment { comment {
access 'read write' access 'read write'
type BOOLEAN type BOOLEAN
@ -105,7 +105,7 @@ state.rockchipes8316c {
control.9 { control.9 {
iface MIXER iface MIXER
name 'DAC Double Fs Switch' name 'DAC Double Fs Switch'
value false value true
comment { comment {
access 'read write' access 'read write'
type BOOLEAN type BOOLEAN
@ -115,7 +115,7 @@ state.rockchipes8316c {
control.10 { control.10 {
iface MIXER iface MIXER
name 'DAC Stereo Enhancement' name 'DAC Stereo Enhancement'
value 0 value 7
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -126,7 +126,7 @@ state.rockchipes8316c {
control.11 { control.11 {
iface MIXER iface MIXER
name 'DAC Mono Mix Switch' name 'DAC Mono Mix Switch'
value false value true
comment { comment {
access 'read write' access 'read write'
type BOOLEAN type BOOLEAN

View file

@ -0,0 +1,10 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
if [ ! -e "/storage/.config/profile.d/99-mixer" ]
then
set-audio esset "DAC"
fi

View file

@ -4,7 +4,7 @@
DEVICE_HAS_FAN=true DEVICE_HAS_FAN=true
DEVICE_FAKE_JACKSENSE=false DEVICE_FAKE_JACKSENSE=false
DEVICE_VOLUMECTL=true DEVICE_VOLUMECTL=true
DEVICE_AUDIO_MIXER="Master" DEVICE_AUDIO_MIXER="DAC"
DEVICE_PLAYBACK_PATH_SPK="SPK" DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP" DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_VOLUME_DEV="/dev/input/by-path/platform-volume-keys-event" DEVICE_VOLUME_DEV="/dev/input/by-path/platform-volume-keys-event"