soundproblems with zsnes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libao (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
libsdl1.2 (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
zsnes (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I used Gutsy, I switched to pulseaudio by following this guide:
http://
Now I'm on a fully updated Hardy Heron.
Before version 1.51 of Zsnes, I couldn't get the sound working with pulseaudio.
Luckily, v.1.51 is in the repositories now. However, about a week ago sound disappeared from Zsnes, after a system upgrade.
Here's my console output (I run zsnes with "padsp"):
---
~% padsp zsnes
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://
ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.
Use ZSNES -? for command line definitions.
This is a work in progress build. It contains code which
May or may not be complete
If this is supposed to be an official release, you forgot to
run configure with --enable-release, go rebuild.
Starting Mouse detection.
Unable to poll /dev/input/event8. Make sure you have read permissions to it.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
ERROR: ld.so: object 'libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.
Device 0 HID 0583:2030
5 axis, 4 buttons, 0 hats, 0 balls
---
Notice the line with "libpulsedsp.so".
I also checked with "pavucontrol", but I couldn't see any stream from Zsnes there.
If I use "paplay" to play a .wav, I get sound and everything works fine, but "speaker-test" does not work:
~% speaker-test
speaker-test 1.0.15
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1 to 2097152
Period size range from 0 to 206158431
Using max buffer size 2097152
Periods = 4
was set period_size = 0
was set buffer_size = 2097152
speaker-test: pcm_params.c:2351: sndrv_pcm_
zsh: abort (core dumped) speaker-test
~% padsp speaker-test
speaker-test 1.0.15
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1 to 2097152
Period size range from 0 to 206158431
Using max buffer size 2097152
Periods = 4
was set period_size = 0
was set buffer_size = 2097152
speaker-test: pcm_params.c:2351: sndrv_pcm_
zsh: abort (core dumped) padsp speaker-test
---
Here's my alsa-information:
http://
Any workarounds are appreciated too!
There's a hint at http:// www.pulseaudio. org/wiki/ PerfectSetup# SDL that there's a new PA driver for SDL.
I commented out this line in /etc/environment:
export SDL_AUDIODRIVER=esd
And installed this package: 2debian- pulseaudio
libsdl1.
After issuing this command, I tried running zsnes again:
unset SDL_AUDIODRIVER
When zsnes start, I get some really weird noises. It's like a .5 second machinegun-crackle.
The sound actually works in Zsnes now, but the sound is full of delay and random tiny crackling-sounds.
When I run zsnes with padsp, it's the same result. I get sound, but it's horribly delayed.
So, I do get sound in Zsnes now, but it's not right.