Ever since the upgrade to Jaunty (and possibly Intrepid, since I never used this program on Intrepid), the pSX emulator called pSX has not been working. Startup brings this error:
If I kill pulseaudio as suggested by many, when I start the program again (or any program with sound I think), pulseaudio opens back up so it gets the same error.
[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams,SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'
NOTE: THE FOLLOWING IS CONFUSING ME. pSX works under sudo even when pulseaudio is running sometimes, but sometimes it gives the same error as without sudo until I kill pulse:
Does anyone know how to keep pulseaudio from reopening when I run pSX, or make pSX work with pulseaudio?
However, if I kill pulseaudio then run sudo pSX, it works. I think this is because trying to open pulseaudio with sudo gives an error about how it's not intended to be run by root, so pSX can't reopen it. Regardless, I don't want to run it as sudo, for security and because then I have to use root's home directory.
One thing that may be useful: I play another game called N through Wine, which was freezing up every few seconds. Turned out that every time it played a sound, it was freezing (an entry popped up in the program paman of ALSA plug-in [wine-preloader] then quickly disappeared). If I kill pulseaudio then open N before doing anything else, it restarts pulseaudio, but the game works. Not sure if I could get a similar effect for pSX. As it is, so I don't have to do that, I have wine using the OSS instead of ALSA plugin.