Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: ZSNES audio crackling [SDL?]

  1. #1
    Join Date
    May 2005
    Location
    Norway
    Beans
    95
    Distro
    Hardy Heron (Ubuntu Development)

    ZSNES audio crackling [SDL?]

    ZSNES makes awful crackling noises. It's not constant at all, but occasionally distorts the whole audio. Attempting to change the audio settings didn't help anything. As the distortion happens at the exact same time in a song, SFX or similiar, it would seem as if there are some special notes that makes the noise occur.

    Tried to search for this both here and on Google, without finding anything helpful. X-Moto also sounds really choppy, so it might be SDL causing the problem. Some posts here said to replace libsdl1.2debian-alsa with oss or esd, but that didn't fix my problem.

    By the way, my audio card's hda-intel.

  2. #2
    Join Date
    Aug 2005
    Beans
    704
    Distro
    Edgy Eft Testing

    Re: ZSNES audio crackling [SDL?]

    I am battling this myself with my new laptop. For now, I seem to have fixed it by setting the sound to 48000 hz.

  3. #3
    Join Date
    Sep 2005
    Location
    Indiana
    Beans
    130

    Re: ZSNES audio crackling [SDL?]

    I've come across this... I've got crackling on games like Neverball/Neverputt, almost all emulators... really ruins these games.

    This happened on Ubuntu when I used it (up through Edgy or Feisty) and it continues even now as I use Gentoo... so it's not something limited to Ubuntu. Best I can tell, it has to do with SDL audio.

    Haven't found a solution yet... it doesn't seem very wide-spread, but there are others with this problem.

    I've got a Dell e1505 laptop. From lspci:
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

  4. #4
    Join Date
    May 2005
    Location
    Norway
    Beans
    95
    Distro
    Hardy Heron (Ubuntu Development)

    Lightbulb Re: ZSNES audio crackling [SDL?]

    Another thread about this problem was made a couple of days ago, and there I learned that ZSNES now uses libao for audio output.

    I started this by pinning the guilt on SDL, but choosing sdl output was actually what fixed my problem.

    Start ZSNES from a terminal with the command "zsnes -ad sdl" to select SDL audio output, hopefully that'll do it for you too.

    My post in that thread:
    http://ubuntuforums.org/showthread.p...36#post4025136

  5. #5
    Join Date
    Sep 2007
    Location
    On a small blue planet.
    Beans
    Hidden!

    Smile Re: ZSNES audio crackling [SDL?]

    I'm glad that solved it.

    I have an hda-intel onboard sound as well.

    For those with problems with neverball and neverputt, setting the output to 48000khz solves it for me.

    Code:
    gedit ~/.neverball/neverballrc
    Change it to this (should be on Line 11)

    audio_rate 48000

    Save it.

    Load up neverball and enjoy.

    After these tweaks, my sound issues are solved. I really hope they improve the intel-hda driver so it works properly out of the box.
    Pears for your heirs
    My GNU/Linux and Emulation blog.
    Resources for the nostalgic emulation enthusiast.

  6. #6
    Join Date
    Apr 2008
    Location
    Lame Detroit Boring MI
    Beans
    13
    Distro
    Xubuntu 7.04 Feisty Fawn

    Re: ZSNES audio crackling [SDL?]

    When I try to run zsnes with the code
    zsnes -ad sdl
    there seems to be a problem with even getting it to run. any suggestions to manually doing this?

  7. #7
    Join Date
    May 2007
    Beans
    646
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: ZSNES audio crackling [SDL?]

    Do zsnes --help to get a list of sound driver options, then try each one with the code ケイト suggested, i.e. zsnes -ad <driver option> When you find the best option, edit ~/.zsnes/zsnesl.cfg and change the libAoDriver option to the one you want to use.

    As a general improvement for sound in games, try installing libsdl1.2debian-all. This will remove libsdl1.2-alsa but don't worry, support for ALSA will be reinstalled as part of libsdl1.2debian-all.
    Last edited by acoustibop; April 26th, 2008 at 04:25 PM.

  8. #8
    Join Date
    Jun 2008
    Beans
    51
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: ZSNES audio crackling [SDL?]

    Quote Originally Posted by acoustibop View Post
    As a general improvement for sound in games, try installing libsdl1.2debian-all. This will remove libsdl1.2-alsa but don't worry, support for ALSA will be reinstalled as part of libsdl1.2debian-all.
    thanks, acoustibop. i was having the same problem in jaunty & just wanted to confirm that installing libsdl1.2debian-all worked perfectly.

  9. #9
    Join Date
    Sep 2009
    Location
    Greece
    Beans
    19
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ZSNES audio crackling [SDL?]

    that worked for me too, thanks.

  10. #10
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: ZSNES audio crackling [SDL?]

    The solution didn't work for me on Ubuntu 12.04 64-bit, what what DID work was setting the rate to 48 kHz, then using OSS (through the pauseaudio wrapper since Ubuntu dropped native OSS support)

    Code:
    padsp zsnes -ad oss
    then set the rate to 48000Hz.

    Note that using the fast-forward functionality will cause the sound to become desync'd with the audio, so don't do that!

    The sound is MUCH clearer than with ALSA or SDL and it doesn't crackle after a while like the others do.

Page 1 of 2 12 LastLast

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
  •