Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Adventure Bird on August 02, 2009, 09:02:54 PM

Title: Sound Problem
Post by: Adventure Bird on August 02, 2009, 09:02:54 PM
Hello

I have a problem with playing sounds. I'm using WME(1.8.1) first time, probably it's something simple.
I tried to play a audio file (ogg/wav) but if I run the project: nothing happens. The IsMusicPlaying() function shows that the music is running. Volume is on 100%. No sprites kill sound and nothing muted.

I tried to open the demo project 2d, but there is also the same problem.
The sound in demo 3d project is running nicely. Other completed game projects like "Dirty Split" are ok, too.
In Project Manager sounds in preview modus are working fine, too.

I'm working on Vista 32bit, Sound Blaster X-Fi.

If I run a project, windows sound mixer volume for the application is set to 0 volume. But if i set the value higher there is also no effect.

Sorry for bad english and best regards from switzerland
Title: Re: Sound Problem
Post by: Mnemonic on August 02, 2009, 09:30:19 PM
It sounds that the volume is set to zero. The game remembers previous volume when you quit / restart the game. Try calling the Game.SetGlobalXXXVolume() functions and set the volume to 100% (for example Game.SetGlobalMusicVolume(100); )
Title: Re: Sound Problem
Post by: Adventure Bird on August 03, 2009, 07:04:48 PM
Thank's a lot. I found the problem. It's a shame, but it had to do with my soundblaster configuration. I use a 7.1 Surround system, output from game was sent to the left and right speaker, but both of them was configured to a special mode. So all output get lost. Now it's working perfectly.