ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

[FeatureRequest/Linux] Surround sound #1678

Open nonno-cicala opened 10 years ago

nonno-cicala commented 10 years ago

The situation has changed a lot from one year ago. Now there is SteamOS and the SteamMachines. In the living rooms there are many more surround systems than with standard computers. If SteamOS wants to conquer its space it needs to deliver a comparable experience. Without support for anything more than stereo the sound will feel flatter, worse than on any other system. To many this is important for the gaming experience. As far as I know SDL2 now supports surround sound up to 7.1 channels. Thanks.

ElectricTriangle commented 10 years ago

I'd like to see this come to Source on Linux as well. On top of that it doesn't at first appear terribly hard to implement.

Frogging101 commented 10 years ago

I support this. It's also a great help in competitive multi-player games, and is a tremendous atmosphere enhancer in games like Half-Life 2 and Left 4 Dead 2.

JensDA commented 3 years ago

Come on, it's current year and still no support.

ThreeDeeJay commented 1 year ago

Is 7.1 surround known to actually work in any Source game even on PC? AFAIK it was just 5.1 surround with the front channels repeated onto an extra pair located farther away from the center for a "wide" 7.1 channel configuration that doesn't exist after Windows XP You could check if you're actually getting 7/8 channels when selecting 7.1 by running the soundinfo command in the console: VbjDcdN

I don't know how you'd set it up on Linux or if it'd even work, but DSOAL (DirectSound wrapper based on Wine) could perhaps virtualize the game's surround sound into stereo so you'd still hear the surround effect with just regular stereo headphones. https://github.com/Ashok0/HL2VREssentials/issues/24 It might even be able to output surround if configured accordingly.

Though personally, I'd love it if Source games could get a proper 3D HRTF like Half Life Alyx did with Steam Audio. Someone attempted to implement OpenAL support in Half Life but it was broken, unfinished and unreleased, though the dev said they'd get back to it eventually https://youtu.be/Ey7BbdpdztY