Originally posted by: Seeruk
That is interesting Drag... I'm no audiophile and I don't game on linux for obvious reasosn... but I have always assumed that I had 5.1 because I had sound from all speakers (well after some messing around with alsa mixer for a bit)

Now of course all I typically hear from my Linux speakers is system sounds I have never really noticed that it wasn't 5.1 as such.... just stereo split between the 6 speakers right?
It just depends on the source of the sound.
Most music has only 2 channels. A left and a right.. (In fact this is usually more ideal to listen to then "surround sound" for various reasons.) Which makes sense considuring that music cds, and such are restricted to 2 channels only.
It's possible to have multichannel audio files. You can do that in wave format, as well as Ogg Vorbis, and newer versions of the Mp3s (as well quite a few other formats). However you generally have a hard time finding them since 'just for music' it's fairly pointless to do more then 2 channels and you can obtain them by ripping cds and such.
So that is were things like Dobly Prologic, and Prologic II come in. It takes a regular stereo input and mixes them on the fly to the multiple outputs. I don't know for sure exactly how it works, but basicly it will take the sounds that only appear on one or the other channel and puts those on the left or right front and rear outputs. Then sounds that come out both speakers it will send to the center. Then for the subwoofer (or LFE, for low frequency effects) it will mix both channels together then use a lowpass filter to remove all the sounds above a certain frequency.
It's basicly a method devised to sell surround sound systems. Having lots of speakers is impressive, and it's a nice way to sell new equipment and lots of speakers to people.
'Real' Stereo is still prefered method to listen to music from audiophiles due to all these different variables and whatnot. Basicly with nice speakers, proper placement, and good sitting arrangement a proper stereo setup can make any sound seem to come from different directions. After all you only have 2 ears. They have all these fancy terms to describe how well the speakers, stereo receiver, and audio information is able to do this. Stuff like 'stereo imaging' and whatnot. Usually they'll have a subwoofer for very low stuff, since it's difficult for humans to determine were realy low frequency sounds come from.
What surround sound like 4.1, 5.1, 7.1, etc.. is designed for is for special effects in movies and games. You can make it feel like the ground is rumbling, or you can make a telephone suddenly ring off to your right, or a monster from behind, or a car zoom from left to right. It's designed for big impressions, not so much so you can do things like make the listener thinks there is a guy playing the violin kinda off to the right and up about 10 feet off the ground.
So that is the other purpose for prologic stuff. By putting subtle 'hints' and such into 2 audio streams you can take a multiple channel input, downmix it to 2 audio channels, then use prologic to 'upmix' it back into multiple channels. That's what they are doing when you see on the Simpsons or whatnot "encoded in prologic surround sound" type stuff. Since with TV you only realy can have 2 analog channels.
Nowadays with all our digital media we have things like Dolby AC-3 format (Dolby Digital). Since it's digital you can encode as many channels as you feel like as long as the format supports it. Dolby Ac-3 supports up to 5 independant channels, and then you can do fancy stuff to get the 'LFE' (the .1) for the subwoofer. For DVDs and I beleive HDTV the minimal and required option is Dolby Digital 2.0, which is just digital 2 channel format. Then you have 2.1, 4.1, 5.1 stuff it can support.
In Linux movie players like Xine and VLC and a few other are smart enough to handle and understand stuff like AC-3. What I do when I want to watch a DVD is that I have a audigy and a el'cheapo Sony 5.1 digital receiver I got from K-mart. It supports things like Dobly Digital and Prologic, so I just setup so that I have the left front speaker of my Audigy (thats how creative has it setup in the hardware) connected directly into the 'dvd' input on the receiver. Then when I play the dvd with Xine I enable 'AC-3 passthru' and it just sends the digital data from the dvd (or avi or whatever) directly thru the digital output and into the receiver. The receiver's hardware is smart enough to detect this and it then decodes it to analog outputs on all 6 speakers I have.
(BTW with DVDs, digital sattalite, digital cable, the format for video is Mpeg2 encoding. In AVI files it's a container format (like quicktime or ogg format) it can contain mixtures of different audio/video formats. Like you can have avi files that mpeg2 with Ac3, or mpeg4 (divx is a mpeg4 codec) with pcm audio (uncompressed audio), or with mpeg4 + ac3, mpeg4 + mp3, or even mpeg4 + vorbis. Other types of container files can contain different things. Ogg files for instance usually have Vorbis audio, but they can also contain mp3 if you realy wanted to.. (I dont know if that is supported by any players though), Generally with video Ogg files you can use Theora (which is similar purpose to mpeg4) and vorbis for audio. (technically Ogg Vorbis can handle up to 256 different audio channels at once))
Digital DTS is a competator to Dolby Digital. Originally intended for movie theaters it's a optional sound track on some DVDs. It does 5.1 sound also. I don't know if anything in Linux supports this or not. I suppose so, but it may only be commercial programs. In comparision Dolby Digital is part of the required standard for DVDs and such.
Now beyond 5.1 sound for Dolby Digital, you have things like Dolby Digital EX, THX, DTS-ES, and the like.
Now this is still 5.1 audio, but unlike just plain Dolby Digital you have the 'rear' two speakers to be mixed to create sound for use behind the viewer. On regular 5.1 you place the speakers in front and then off to the side.
So to still retain the front and side arrangement but still be able to account for sounds coming from behind you add a extra 2 channels for the rear output. This is were 7.1 comes in. Then you use some fancy logic in the receiver to split up the rear channel from the other left/right/front/side/center/LFE speakers.
So I think it's sort of like 'prologic', but just for the rear.
I don't suppose that Linux supports any of this either, but I can't say for certain since it's something that I realy don't care much about and haven't tried it.
Stereo = take 2 channel input and output for 2 channels (or maybe 3 if you do a lowpass filter for a subwoofer).
So Prologic = take 2 channels input and remix/upmix/whatever for 3-6 channel output. (left front, right front, left rear, right rear, center, subwoofer(LFE))
So Dolby Digital (Ac-3)/DTS = take 2-5 channels and output for 2-6 channels.
THX/EX/DTS-ES = take 5 channels and output for 6-8 channels.
Or something like that. It's a big mess.
edit:
In Linux some sound cards and do the prologic-style or Ac3 stuff themselves. Like I've listened to music plenty times on my Audigy on multiple speakers thru the analog outputs on the back. I just realy depends on the sound card, and how much stuff they put into the hardware vs how much they left in the software to accomplish, how mature the drivers are for a paticular device, and how much documentation and help is provided for the programmers by the original hardware developers.