[SDL] Sound problems
ndlnx at yahoo.com
Thu Dec 5 21:30:01 PST 2002
--- Patrick McFarland <unknown at panax.com> wrote:
> On 05-Dec-2002, N D wrote:
> > I am using RedHat 8.0 (and the SDL that is shipped
> > with it)
> > I have three problems out of which one is solved
> > although I would like to know more about the
> > (no1 that I mention )
> > 1. I have an onboard sound card and am using ALSA.
> > encountered some time lag similar to what John
> > has talked about in his Pro Linux Games book, but
> > ESD. Now this time lag gets almost resolved
> > if I use 22050 sample rate instead of 44100. What
> > this mean?
> Dont use ESD, its evil.
> > 2. Any SDL application using sound works only the
> > every other time on my machine. Every alternate
> time I
> > get an error with Mix_OpenAudio function failing.
> > When I am not using Mix_OpenAudio, SDL_OpenAudio
> > with the error string being " Unable to Open ESD
> > connection" Before this error I could have sworn
> > I was using ALSA. Now how do I find out for sure
> > I am using?
> Remove ESD and all applications use it. Build SDL
> without ESD.
I exorcised the system and problem 1 and 2 have
mysteriously disappeared. I did not remove the
applications that used it and to my pleasant surprise
I could use alsaplayer to play CDs (it is the only app
that can play audio CDs in my system and was shown to
be esd dependent)
Thanks for this.
> > 3. Mix_LoadMus if passed an MP3 file, does not
> > the desired results. The file is never played. If
> > pass an ogg file, it is played perfectly.
Ok 2 down 1 to go :) I can live with this though as I
just installed oggasm that converts MP3s to ogg.
> > Any help will be greatly appreciated. Thanks for
> > time.
> > -
> > ND
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
More information about the SDL