LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 07-11-2007, 02:34 PM   #1
Janusz11
Member
 
Registered: Aug 2005
Distribution: Zenwalk
Posts: 42

Rep: Reputation: 15
Question Setting SDL up (sound in games)


Hello.

Lately I fired up one or two games on Zenwalk and found out that I can only hear sound when I plug my headphones into my sound card. However, my computer is connected to my Dolby Digital/DTS receiver via a single optical cable, connected to the S/PDIF of my onboard sound card. Generally this is working just fine (read: I have sound and can listen to music and watch DVDs). But how do I tell libSDL to use the S/PDIF (hw:0,2) of my sound card? (I read something about an AUDIODEV=hw:1,0 syntax on DOSBox - where can I set that up?).

Any help appreciated.
 
Old 07-15-2007, 10:32 AM   #2
Janusz11
Member
 
Registered: Aug 2005
Distribution: Zenwalk
Posts: 42

Original Poster
Rep: Reputation: 15
Okay, I finally solved the problem for some of my applications/games. At least, when I define the audio driver via the SDL variable "SDL_AUDIODRIVER=alsa" I have sound in DosBox and ScummVM. However, when I try to fire up the Robin Hood demo with this variable, the demo crashes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 and SDL games segfaults... ssobeht Debian 2 06-06-2006 03:25 PM
SDL sound is very jerky Belegdol Linux - Software 0 07-01-2005 01:55 PM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 04:53 PM
[SDL] help setting framerate?? stateq2 Programming 2 11-25-2003 11:45 AM
Reinstalled SDL, no sound hydro Linux - Newbie 0 08-02-2003 12:45 AM


All times are GMT -5. The time now is 07:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration