You are not logged in.

#1 2011-08-08 15:33:28

vectorman
Member
Registered: 2011-04-26
Posts: 16

How to disable pulseaudio (temporarily) to make pSX work

I can't get the emulator pSX to work as it fails with the following error message:

[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams,SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'

Google told me I need to disable pulseaudio, but I don't know how.  I tried the command "killall pulseaudio" and using a task manager and killing the task, but it starts up whenever I load pSX and this in turn causes (or at least I think it's causing) pSX to fail.  I don't want to uninstall pulseaudio if it can be avoided.  Any suggestions?

Offline

#2 2011-08-09 05:06:14

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: How to disable pulseaudio (temporarily) to make pSX work

You'll have to figure out what process is spawning pulseaudio repeatedly.

Let's assume you're using gnome. I'd try running 'gnome-session-properties' and then unticking "PulseAudio Sound System". You may need to restart gnome-settings-daemon, or failing that, log out and log back in.

I'm sure that there's something analogous for other environments.

Last edited by vkumar (2011-08-09 05:08:11)


div curl F = 0

Offline

#3 2011-08-09 09:12:31

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

Re: How to disable pulseaudio (temporarily) to make pSX work

How about

$ pasuspender [appname]

?

Offline

#4 2011-08-09 14:59:39

vectorman
Member
Registered: 2011-04-26
Posts: 16

Re: How to disable pulseaudio (temporarily) to make pSX work

I'm running an openbox-session, so I don't have gnome-session-properties.

'$ pasuspender pulseaudio' returned:

E: pid.c: Daemon already running.
E: main.c: pa_pid_file_create() failed.

whereas '$ pasuspender pSX' yielded the same result

Offline

#5 2011-09-07 16:22:32

Mtth
Member
From: France
Registered: 2011-09-07
Posts: 1

Re: How to disable pulseaudio (temporarily) to make pSX work

With openbox-session:

pulseaudio -k

worked well for me.

Offline

Board footer

Powered by FluxBB