Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ut2004/Armyops]How to enable 5.1 sound with OSS(no ALSA)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Mon Mar 01, 2004 10:53 pm    Post subject: [ut2004/Armyops]How to enable 5.1 sound with OSS(no ALSA) Reply with quote

Hi.

I've read lots of post about enabling 5.1 with alsa for games that use OpenAL sound system(UT2003, UT2004, America's Army,...) but , What should I do to get 5.1 works with my SB Live! using emu10k1?

All games play the same rear and front speakers, no 3D or 5.1 sound :(

Any suggestions?

Thanks in advice.


Last edited by Stolz on Mon Apr 26, 2004 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Tue Mar 02, 2004 12:24 am    Post subject: Reply with quote

I don't think it's possible with oss; the emu10k1 ALSA driver works great here with 5.1.
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Mon Apr 26, 2004 1:18 pm    Post subject: Reply with quote

I'm using a SB Live! 5.1, Kernel 2.6.5 with alsa support in the Kernel (mark as module).

1.-I've emerged openal-cvs, linked both libSDL and openal fom [gamedir]/System to /usr/lib/.

2.-I've created ~/.openalrc:
(define devices '(alsa))
(define speaker-num 4)
(define alsa-out-device "surround40:0,0")

3.-With the alsamixer, I've mutted SB Live Analog/Digital Output Jack and Sigmatel 4-Speaker Stereo, and set the correct controls to the spected values.

4.-I'v tested alsa with XMMS and all 5 speakers work fine, with XINE I can distinguish the 5 chanels sound in AC3 films.

5.-Other games sound great (chromium, ET, racer, tuxreacer...)

So I suppose ALSA is working fine, but I'm still unable to get 5.1 sound to work with America's Army, UT2003 and UT2004

When runnig a game I can see /dev/snd/pcmC0D0c failed: Device or resource busy. I've solved it typeing killall artsd before launching the games, but 5.1 still doesn't work. Rear speakers don't play any kind of sound, and front speakers play the same as the central one, so there is not stereo or not even a poor 3.0 :(

Conclusion: Using ALSA, I am only able to obtain a miserable 1.0 (but listened through three speakers).

Thats the reason I want to know how can I get 5.1 sound using OSS (emu10k1)

I would apreciate as help as possible.

Thanks in advice.

Stolz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum