Skip to main content
Topic: [bug] Sound output only on left speaker (Read 2600 times) previous topic - next topic

[bug] Sound output only on left speaker

1.) System specs (CPU, memory, graphics, sound, operating system,
preferred screen resolution):
-> Win 7


2.) Simutrans version:
-> 102.2.2-3122 (sdl and gdi)
pak128

3.) Description of the found problem:
-> Sound output only on left speaker


4.) How can this problem be reproded?
-> Right after start, happens always.


6.) Effect on gameplay of the found problem?
-> I though my speakers were damaged ^^ They aren't.


7.) Did you discover a workaround for the problem?
-> Use 102.2.1


8.) Severity of the problem/urgency to fix it?
(One of high, medium, low or a more detailed description)
-> medium (many users don't play with sound, but if you do, it's pretty annoying)

Re: [bug] Sound output only on left speaker

Reply #1
Windows7 uses the sound settings per program. Simutrans does usually have mono-sounds (to keep download size small). Does you talk about sound effects or midi music?

I think this is a problem in the crosscompiling since the native sound interface was not changed in between, if I remember correctly. I am also not sure how Win7 initialises the balance between both chaneels. Maybe it was set to left channel only, when the program was started for the first time?

Re: [bug] Sound output only on left speaker

Reply #2
I don“t think that this is a Problem im cross-compiling, I think a Problem of the Client (The Maschien)
I hope you understand my English

 

Re: [bug] Sound output only on left speaker

Reply #3
I did some more testing.
There doesn't seem to be an option in win 7 to change to stereo, but:

* I copy the entire simutrans folder
* I start simutrans from the new folder
* sound works as stereo!
* I click exit (the simutrans window, not the windows button)
* Simutrans needs some time to close (maybe 0.5 seconds), during this "closing time" I hear sound only from one speaker!
* When I start simutrans again it's only one speaker.

This is reproduceable.

This indicates that simutrans does something weird at "closing time".

Quote
Do you talk about sound effects or midi music?
Both. But its much more obvious when hearing midi music (because you hear it all the time).

Instead of copying the entire folder, one can also just rename the exe file. This seems to be the easiest workaround.



Re: [bug] Sound output only on left speaker

Reply #4
I can reproduce the issue at work (Dell Optiplex 755, Win7 64-bit).

I've found out, if you only hear the music on one speaker, go to the sounds settings in Simutrans and either increase or decrease the sound volume.  You should get it on both speakers after doing that.

This seems to be a known issue, people have been complaining on some Microsoft forums about mono sound only coming out one speaker.  Some of the issues seem to be driver related, and it doesn't seem to be specific to Simutrans.

PS: Works fine on XP.

Re: [bug] Sound output only on left speaker

Reply #5
Quote
go to the sounds settings in Simutrans and either increase or decrease the sound volume.  You should get it on both speakers after doing that.

This works for me, too.