Enable Surround Sound in Ubuntu Linux (PulseAudio)

By default, PulseAudio in Ubuntu up to Jaunty is set to work with 2 speakers (front channels). This tutorial will explain how to enable multiple sound channels (5.1, 7.1, etc) in Pulseaudio.