Fix for Amnesia buzzing sound, Ubuntu 10.04 64 bit

Anything related to Wolfire Games and/or its products
Post Reply
User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Fix for Amnesia buzzing sound, Ubuntu 10.04 64 bit

Post by Wilbefast » Tue Jun 05, 2012 10:20 am

NB - same fix that worked with Penumbra seems to work with Amnesia too :)
Wilbefast wrote:Penumbra
Painful intermittent buzzing sound. Neither a direct "pasuspender" nor the above, nor changing the output using options > sound > output seems to fix the problem.

So we're going to have to go for the throat: since pulseaudio is the bane of Ubuntu gamers everywhere, we're going to create a bash script that deactivates it, runs the game and then reactivates it when the game is finished. Voilà:

Code: Select all

#!/bin/bash

cd /home/william/PenumbraOverture
killall pulseaudio
./penumbra
pulseaudio -D
Unfortunately pulseaudio has a habit of not staying dead. To prevent it from starting itself back up again before we explicitly tell it to, we'll have to explicitly tell it not to turn itself back on until we say so.
First we create/edit the the pulseaudio configuration file:

Code: Select all

gedit /home/william/.pulse/client.conf
And add:

Code: Select all

autospawn = no
Thanks to frigginacky for this fix :)

Once again we can set the Penumbra shortcut to:

Code: Select all

/home/william/PenumbraOverture/run_Penumbra

Post Reply