[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No sound with SDL apps



On Thursday 15 April 2004 14:36, Keir Lawson wrote:
> On Thu, 2004-04-15 at 11:39 -0600, Justin Guerin wrote:
> > On Thursday 15 April 2004 12:11, Keir Lawson wrote:
> > [snip]
> > OK, well, perhaps your sound device is in a strange location, or
> > something. Check out all the environment options from here:
> > ftp://ptah.lnf.kth.se/pub/misc/sdl-env-vars
> >
> > You may want to try setting some of those options, especially:
> > [snip]
> > SDL_PATH_DSP
> > 	The audio device to use. If not set, SDL tries AUDIODEV and then
> > 	a platform-dependent default value (/dev/audio on Solaris,
> > 	/dev/dsp on Linux etc).
> >
> > Though I suspect you'll end up having to file a bug report.  It seems
> > that only SDL_DSP_NOSELECT would change things, since /dev/dsp is the
> > Linux default.
> >
> > If all else fails, file a bug report.
>
> exporting SDL_PATH_DSP to /dev/dsp worked!!! thanks a lot, now where can
> i put this line so that this is done automatically for all users?
>
> Keir Lawson

I believe either of /etc/profile or /etc/bashrc will work.  It depends on 
your setup.  You could also change the menu entry to do it, like this:
env SDL_PATH_DSP=/dev/dsp /usr/games/frozen-bubble

Justin



Reply to: