Sound problems

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 solution.
(no1 that I mention )

  1. I have an onboard sound card and am using ALSA. I
    encountered some time lag similar to what John Hall
    has talked about in his Pro Linux Games book, but with
    ESD. Now this time lag gets almost resolved completely
    if I use 22050 sample rate instead of 44100. What does
    this mean?

  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 fails
    with the error string being " Unable to Open ESD
    connection" Before this error I could have sworn that
    I was using ALSA. Now how do I find out for sure what
    I am using?

  3. Mix_LoadMus if passed an MP3 file, does not give
    the desired results. The file is never played. If I
    pass an ogg file, it is played perfectly.

Any help will be greatly appreciated. Thanks for your
time.-
ND


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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 solution.
(no1 that I mention )

  1. I have an onboard sound card and am using ALSA. I
    encountered some time lag similar to what John Hall
    has talked about in his Pro Linux Games book, but with
    ESD. Now this time lag gets almost resolved completely
    if I use 22050 sample rate instead of 44100. What does
    this mean?

Dont use ESD, its evil.

  1. 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 fails
    with the error string being " Unable to Open ESD
    connection" Before this error I could have sworn that
    I was using ALSA. Now how do I find out for sure what
    I am using?

Remove ESD and all applications use it. Build SDL without ESD.On 05-Dec-2002, N D wrote:

  1. Mix_LoadMus if passed an MP3 file, does not give
    the desired results. The file is never played. If I
    pass an ogg file, it is played perfectly.

Any help will be greatly appreciated. Thanks for your
time.

ND


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Patrick “Diablo-D3” McFarland || unknown at panax.com
"Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." --Kristian Wilson, Nintendo, Inc, 1989
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021205/7bddd76b/attachment.pgp

— Patrick McFarland 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
solution.
(no1 that I mention )

  1. I have an onboard sound card and am using ALSA.
    I
    encountered some time lag similar to what John
    Hall
    has talked about in his Pro Linux Games book, but
    with
    ESD. Now this time lag gets almost resolved
    completely
    if I use 22050 sample rate instead of 44100. What
    does
    this mean?

Dont use ESD, its evil.

  1. 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
    fails
    with the error string being " Unable to Open ESD
    connection" Before this error I could have sworn
    that
    I was using ALSA. Now how do I find out for sure
    what
    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.

  1. Mix_LoadMus if passed an MP3 file, does not
    give
    the desired results. The file is never played. If
    I
    pass an ogg file, it is played perfectly.

Ok 2 down 1 to go :slight_smile: I can live with this though as I
just installed oggasm that converts MP3s to ogg.> On 05-Dec-2002, N D wrote:

Any help will be greatly appreciated. Thanks for
your
time.

ND


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com