Skip to content

Instantly share code, notes, and snippets.

@dex4er
Created January 27, 2014 10:58
Show Gist options
  • Select an option

  • Save dex4er/8646669 to your computer and use it in GitHub Desktop.

Select an option

Save dex4er/8646669 to your computer and use it in GitHub Desktop.
Upmixing stereo to 4.1 for PulseAudio
pactl load-module module-alsa-sink device=hw:Device channel_map=rear-left,rear-right,rear-center,subwoofer,front-right,front-left
pactl load-module module-remap-sink sink_name=surround remix=yes master=alsa_output.hw_Device channels=6 master_channel_map=front-right,front-left,rear-left,rear-right,lfe,lfe channel_map=front-left,front-right,front-left,front-right,front-left,front-right
pactl set-default-sink surround
pactl load-module module-loopback latency_msec=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment