Game Development Community

Audio from Linux Dedicated Server

by DavidRM · in Torque Game Engine · 07/26/2002 (4:50 pm) · 4 replies

We got a dedicated server running on Linux today (after a few minor issues). For the most part it seems to be working OK.

One thing stands out right away, though: There's no audio. Total silence on the client side. All the sound files are available on the client, and they work fine if the player hosts a server himself. But when he logs into the dedicated server...nothing.

Is there something we need to do on the server-side to get the audio going?

It would seem to me that the server would be handing off most sound effects handling to the client. After all, if a tree falls on the server, the clients aren't going to hear it unless the server says so...

Thanks.

-David

#1
07/26/2002 (5:00 pm)
Weird. In the past I've tested linux clients against linux dedicated servers, and I did hear sound. I've not tested a windows client against the linux server. It shouldn't matter though. I'll check it out later on today or this weekend.
#2
07/26/2002 (5:13 pm)
Do we need OpenAL or something similar installed on the server?

I doubt our server even has a sound card...

-David
#3
07/26/2002 (6:34 pm)
No, you shouldn't need openal or any audio components on the server.
#4
08/13/2002 (12:02 pm)
Just to close this out...I figured out what the problem was just this past week.

The problem stemmed from datablocks being declared on the client side. This is, it turns out, a no-no. Don't do that. =)

Sound works fine now, even from our Linux-based dedicated server.

-David