dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 789e51a3df243a3026008bd04404e02dc68d5e04
Parent: b5fedf9414a578d12c01f3341d8ba0fff84db03a
Author: Randy Palamar
Date:   Wed, 28 May 2025 05:40:23 -0600

remove alsa config

Pipewire is shitware but its what is supported (though it still
breaks way more than alsa)

Diffstat:
D.config/alsa/asoundrc | 118-------------------------------------------------------------------------------
M.config/mpd/mpd.conf | 17+++++++++++------
M.config/mpv/mpv.conf | 3++-
3 files changed, 13 insertions(+), 125 deletions(-)

diff --git a/.config/alsa/asoundrc b/.config/alsa/asoundrc @@ -1,118 +0,0 @@ -pcm.!default { - type asym - playback.pcm { - type plug - slave.pcm pcm.softvol - } - capture.pcm { - type plug - slave.pcm pcm.dsnooper - } -} - -pcm.dup { - type plug - slave.pcm pcm.mdev - route_policy "duplicate" -} - -pcm.output { - type dmix - ipc_key 1024 - slave { - pcm "hw:0,0" - buffer_size 8192 - format S16_LE - period_size 1024 - period_time 0 - rate 48000 - } -} - -pcm.loop { - type dmix - ipc_key 1025 - slave { - pcm "hw:Loopback,0,0" - buffer_size 8192 - format S16_LE - period_size 1024 - period_time 0 - rate 48000 - } -} - -pcm.loopgain{ - type softvol - slave.pcm pcm.loop - control.name "LoopGain" - min_dB -3.0 - max_dB 30.0 -} - -pcm.mdev { - type multi - slaves.a.pcm pcm.output - slaves.a.channels 2 - slaves.b.pcm pcm.loopgain - slaves.b.channels 2 - bindings.0.slave a - bindings.0.channel 0 - bindings.1.slave a - bindings.1.channel 1 - bindings.2.slave b - bindings.2.channel 0 - bindings.3.slave b - bindings.3.channel 1 -} - -# alias actual mic card to mic -pcm.mic { - type hw - card Snowball -} - -pcm.dsnooper { - type dsnoop - ipc_key 1488 - slave { - pcm "mic" - channels 2 - rate 48000 - period_size 1024 - buffer_size 4096 - period_time 0 - } -} - -# give mic output a volume control -pcm.micvol { - type softvol - slave.pcm pcm.dup - control.name "MicVol" -} -ctl.MicVol { - type hw - card Snowball -} - -# software volume -pcm.softvol { - type softvol - slave.pcm pcm.dup - control.name "SoftVol" -} - -# mpd volume control -pcm.mpd { - type softvol - slave.pcm pcm.dup - control.name "MPD" -} - -# mpv volume control -pcm.mpv { - type softvol - slave.pcm pcm.dup - control.name "MPV" -} diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf @@ -10,13 +10,18 @@ log_level "default" bind_to_address "localhost" port "6600" +#audio_output { +# type "alsa" +# name "ALSA SoftVol" +# device "mpd" +# auto_resample "no" +# mixer_device "mpdvol" +# mixer_control "MPD" +#} + audio_output { - type "alsa" - name "ALSA SoftVol" - device "mpd" - auto_resample "no" - mixer_device "mpdvol" - mixer_control "MPD" + type "pipewire" + name "PipeWire Sound Server" } audio_output { diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf @@ -5,7 +5,8 @@ video-sync=display-resample hwdec=auto # Audio -audio-device=alsa/mpv +#audio-device=alsa/mpv +audio-device=pipewire volume=75 volume-max=200