Portál AbcLinuxu, 8. května 2025 11:09
$ vlc --aout alsa --alsa-audio-device=default --alsa-audio-channels=2 sample.aviKonfigurace ALSA:
# Enable dmix on digital output. (Arch Wiki) pcm.dsp { type plug slave.pcm "dmix" } # Create dmix type accessing the HDMI output pcm.hdmi_dmix { type dmix ipc_key 1024 slave { pcm "hw:NVidia,3" period_size 4096 buffer_size 131072 rate 50000 } bindings { 0 0 1 1 } } # Convert all to stereo, 48 kHz pcm.hdmi_formatted { type plug slave { pcm hdmi_dmix rate 48000 channels 2 } } # Allow software volume control pcm.hdmi_complete { type softvol slave.pcm hdmi_formatted control.name "HDMIsoftvol" control.card NVidia } # Set it as "ALSA Default" PCM pcm.!default hdmi_complete
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.