Sound stopped working for no apparent reason

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Dryer Lint
New Member
Posts: 7
Joined: Tue Jan 02, 2007 12:03 pm

Sound stopped working for no apparent reason

Post by Dryer Lint »

I never had sound problems using ZSNES on Linux (currently Kubuntu 6.10) before, it all worked just fine.

Yesterday I disabled sound output in ZSNES because I needed to create some screenshots of games for my frontend and wanted to listen to some music.

However, after turning the sound back on ZSNES remained silent!

I tried everything, I reverted the sound settings to the default, even deleted all of ZSNES' config files, rebooted the computer, looked at my mixer volume settings, reinstalled ZSNES, updated to the latest SVN version, ...

Sound just wouldn't come back.

I compiled the SVN version with libao support now and tried all the modules that could potentially work on my system and with alsa, oss and arts I actually get sound, but it's really REALLY distorted. It sounds broken in the same way on all the three modules, no matter what sound settings I use in ZSNES. If I use "sdl", ZSNES is completely mute.
EDIT: And ZSNES outputs hundreds of these lines on the commandline:en
frame cycles: 10258

And with the ALSA module also:

ALSA: underrun, at least 0ms.

In other programs (I tried a few emulators and SDL games) sound works fine.

Please help me figure this out!




P.S.: This happened at the worst possible moment, too: just when two friends came over to play Secret of Mana... After trying to get sound to work for an hour I had to start Windows so we could finally play... Oh, the shame!
ssjkakaroto
New Member
Posts: 6
Joined: Sun Mar 26, 2006 5:14 am

Post by ssjkakaroto »

Dryer Lint
New Member
Posts: 7
Joined: Tue Jan 02, 2007 12:03 pm

Post by Dryer Lint »

I downgraded to 1.51 and sound is back working again, thanks for the hint!

But I'm pretty sure I wasn't using the SVN version when the sound disappeared. Either way, sound was working fine and suddenly it didn't work anymore. I didn't do any updates in between.
Oh well.
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

The sound issues in SVN should be cleared up soon.

WIndows will take a while since I have to write an intelligent buffer for it so it never loses any samples no matter how slow your computer is. Sort of how it is now.
Post Reply