Results 1 to 4 of 4

Thread: Distorted Sound

  1. #1
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Distorted Sound

    As many of you know I always seem to have problems with the sound in my games. Tonight I found something interesting.

    I have exactly the same file and sound files (they were just copied to the other directory). In the original directory the sounds work fine, in the new directory all sounds are distorted. Its almost like its dependant on the directory the exe is running from...

    Very strange.

    I have tried copying (one by one) each version of SDL_Mixer that I have on my computer to the new directory with no significant changes in the sound quality.

    Any ideas?

    PS - I'm away for a while - I will read the replies next week.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  2. #2

    Distorted Sound

    Do you have a minimal example that shows the problem occuring?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Distorted Sound

    I have used the SDL_Mixer several times in my own projects. I know for a fact that if you are setting the playback freq to 44100 when playing back a MODule it will sound crappy (same distortion/staticy sound) in Windows. Linux it's supposed to sound ok(have not tried it personally).

    This may be the same problem. Or possibly related. Try reducing the freq to 22050 and see if the distortion goes away.

    This is an issue I have aswell with SDL that I'll also be looking to resolve. Be sure to let us know what you find out.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Distorted Sound

    Seems to be an SDL.dll version issue - nothing to do with SDL_mixer.... Still making sure though.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •