Upload files to "/"

This commit is contained in:
Arma-Damna-Dillo 2025-02-11 20:50:04 +00:00
parent 80ec7dac20
commit 77b9385bad
3 changed files with 75 additions and 0 deletions

5
fix-fedora-omnigul Normal file
View file

@ -0,0 +1,5 @@
sudo cp conf/sof/apl-sof.conf /etc/modprobe.d/apl-sof.conf
sudo rm /etc/wireplumber/wireplumber.conf.d/51-increase-headroom.conf
sudo cp headroom.conf.fixed /etc/wireplumber/wireplumber.conf.d/51-speaker-fix.conf
sudo cp mic.conf.fixed /etc/wireplumber/wireplumber.conf.d/52-mic-fix.conf

33
headroom.conf.fixed Normal file
View file

@ -0,0 +1,33 @@
[device.profile]
# Set default profiles for OMNIGUL audio
skip-monitor = [ true, true ]
[device.properties]
# Improve audio quality and fix distortion
api.alsa.period-size = 512
api.alsa.headroom = 8192
api.alsa.disable-batch = false
api.alsa.use-chmap = true
api.alsa.multi-rate = true
# Increase buffer size to reduce crackling
node.param.max-latency = 2048/48000
node.param.rate = 48000
node.param.quality = 4
# Power management settings
api.alsa.pm-disable = false
# PCM settings
audio.format = "S16LE"
audio.rate = 48000
audio.channels = 2
audio.position = [ FL FR ]
# Buffer and period settings for better stability
node.latency = 2048/48000
api.alsa.buffer-size = 4096
# Enable hardware volume control
device.control.hardware-volume = true
device.control.hardware-mute = true

37
mic.conf.fixed Normal file
View file

@ -0,0 +1,37 @@
[device]
# Enable microphone device
name = "alsa_input.*"
priority = 100
enabled = true
[device.profile]
# Configure microphone profile
direction = "input"
channels = "mono"
rate = 48000
format = "S16LE"
[device.properties]
# Basic microphone properties
device.description = "OMNIGUL Microphone"
device.nick = "Internal Mic"
device.icon-name = "audio-input-microphone"
# ALSA settings for microphone
api.alsa.use-ucm = true
api.alsa.ignore-dB = false
api.alsa.soft-mixer = false
api.alsa.period-size = 1024
api.alsa.buffer-size = 4096
# Input processing settings
audio.channels = 1
audio.position = [ MONO ]
node.pause-on-idle = false
# Boost microphone gain
api.alsa.gain = 20.0
node.param.gain = 1.5
# Ensure device is not muted by default
device.mute = false