SDL problem - sound not working in SDL games unless...

Darren Wheatley darren at tenjin.co.uk
Sat Oct 23 09:21:18 UTC 2004


Hi,

I think I have a workaround.

Add:

    export SDL_AUDIODRIVER=dsp

- to:

    /etc/environment

- and reboot.

SDL games started from the Application menu should now have sound.

Regards

D.


> Hi,
>
> On an older release of Ubuntu I installed Tuxracer and it worked out 
> of the box.
>
> On the RC and final (just did an apt-get dist-upgrade, so do I have 
> the final version?) I found that SDL sound in games had stopped working.
>
> However, if I add this to .gcprofile:
>
>    export SDL_AUDIODRIVER=dsp
>
> - sound works fine in Tuxracer if I start it from a shell.
>
> Starting tuxracer from the Application menu still results in no sound.
>
> I have tried adding the line to /etc/profile but it doesn't make any 
> difference.
>
> Any ideas why this is happening, and how to fix it so that the menu 
> launchers work?
>
> Thanks
>
> D.
>
>
>



----- Original Message ----- 
From: "Darren Wheatley" <darren at tenjin.co.uk>
To: "Ubuntu Users List" <ubuntu-users at lists.ubuntu.com>
Sent: Wednesday, October 20, 2004 11:21 AM
Subject: SDL problem - sound not working in SDL games unless...


> Hi,
> 
> On an older release of Ubuntu I installed Tuxracer and it worked out of 
> the box.
> 
> On the RC and final (just did an apt-get dist-upgrade, so do I have the 
> final version?) I found that SDL sound in games had stopped working.
> 
> However, if I add this to .gcprofile:
> 
>     export SDL_AUDIODRIVER=dsp
> 
> - sound works fine in Tuxracer if I start it from a shell.
> 
> Starting tuxracer from the Application menu still results in no sound.
> 
> I have tried adding the line to /etc/profile but it doesn't make any 
> difference.
> 
> Any ideas why this is happening, and how to fix it so that the menu 
> launchers work?
> 
> Thanks
> 
> D.
> 
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
> 
> 





More information about the ubuntu-users mailing list