Technical support > Feature Requests

No audio ?

(1/3) > >>

M&M:
I just installed the last RC and there is no audio whatsoever, no game music, no effects for weapons, no nothing. Is that normal ?

I checked the base\music directory and there are 7 files there, all in ogg format. Checked the audio options and they seem to be set properly.

So whats wrong ?

M&M:
I checked the console and this is what appears, seems audio is initialising fine but I'm not hearing anything

--- Code: ---------- sound initialization -------
Soundsystem: SDL.
SDL audio driver is "dsound".
Bits: 16
Frequency: 22050
Samples: 512
Channels: 2
sound sampling rate: 22050
------------------------------------
CD Audio Initialized
couldn't exec autoexec.cfg
...could not set to language: en_GB
...could not set to system language
Shared Client/Server Info loaded
--- End code ---


Where is autoexec.cfg anyways and is it neccessary ?

Bandobras:

--- Quote from: "M&M" ---I Where is autoexec.cfg anyways and is it neccessary ?
--- End quote ---


No.

If you have Windows, the sound problems are known but not easy to fix. You can try browsing the forum or the wiki...

M&M:
Alright so to make things clear, I need to download the code for myself and compile the game with direct sound support ? isn't it compiled with dsound already ? Or is that through the SDL layer ?

So far I've only seen talk about the MinGW compiler being used, will Visual Studio's 7.1 compiler work for compiling ? or do I have to download devcpp and get the project compiled with MinGW ?

Also, I'm running an x64 system, do I need to download/compile anything else ?

Mattn:
yes, grab the svn repository (trunk) and compile it yourself. there are vc7 projectfiles in the svn, too - but i think noone has updated them for a long time. there is a possible workaound for this. the projectfiles are xml-based and contains a version string for vc. copy the ufo.vcproj over to ufo_7.vcproj (if this file does not work for you) and edit the version string on line 4 of this file from 8.00 to 7.00. Please report back whether this work - or create a new patchtracker item with the vc7 projectfiles (keep in mind, that this have to be done for the game.vcproj and ref_gl.vcproj, too)

currently sound is using sdl layer - but this is broken. on the long run the directx code should be "removed" (will stay, but permantly deactivated) - due to portability reasons. There is also a mingw quake2 version available on sourceforge.net which uses win32 api calls to produce sound. no directx. this is imaginable, too. but - someone with a win system have to do this to test it back.

we will change the sound layout to dynamic libs on the long run, which means you can exchange the libs as you want. (like for opengl-renderer)

Navigation

[0] Message Index

[#] Next page

Go to full version