Ubuntu 10.04 64bit
I also know this to be present on Ubuntu 9.10 64bit
When playing Haven and Hearth in Linux, it prevents sounds from any other program from being played. Only Haven's sound is played.
There is a slight work around, if you have any sound using application on before launching haven, it will still work, but prevent Haven's sound from playing.
If at any point you stop using the other sound producing program, Haven will take over. At this time, it sounds like a burst of static, but it's just all the sounds that have been produced by haven playing at once. Like they have been queued. I'm not too familiar with the way Linux handles sound, but it sounds like the old days of OSS when only one application could produce sound at once.
-
Iryn
- Posts: 113
- Joined: Wed Mar 03, 2010 7:33 pm
Linux Clients and Sound
Metzger, Lawspeaker of Nord Belka
-
Chakravanti
- Posts: 3345
- Joined: Sat Aug 29, 2009 3:38 am
Re: Linux Clients and Sound
I found that Haven gave other programs boot (Lucid64 here too) like totem when listening to music would just flake and haven would start doing it's thing.
My workaround was to use Pacho's now that his repo is running again in google code. Use Ctrl+o to turn off sound.
My workaround was to use Pacho's now that his repo is running again in google code. Use Ctrl+o to turn off sound.
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
-
DarkhVorTeX
- Posts: 74
- Joined: Sun Apr 18, 2010 10:34 am
Re: Linux Clients and Sound
sudo apt-get --purge remove pulseaudioIryn wrote:Ubuntu 10.04 64bit
I also know this to be present on Ubuntu 9.10 64bit
When playing Haven and Hearth in Linux, it prevents sounds from any other program from being played. Only Haven's sound is played.
There is a slight work around, if you have any sound using application on before launching haven, it will still work, but prevent Haven's sound from playing.
If at any point you stop using the other sound producing program, Haven will take over. At this time, it sounds like a burst of static, but it's just all the sounds that have been produced by haven playing at once. Like they have been queued. I'm not too familiar with the way Linux handles sound, but it sounds like the old days of OSS when only one application could produce sound at once.
(Don't actually do this unless you know what you're doing. I'm 99% sure it's Pulse Audio's fault though)
-
Chakravanti
- Posts: 3345
- Joined: Sat Aug 29, 2009 3:38 am
Re: Linux Clients and Sound
Yeah no, I did that before trying to fix another problem and could never get sound back online. I don't doubt you're right though. PA is a lame ass bitch.
Well what is this that I can't see
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
With ice cold hands takin' hold of me
Well I am death, none can excel
-Ralph Stanley, O Death!
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Linux Clients and Sound
The problem arises because you're using a sound card that isn't capable of stream multiplexing in hardware (most Intel HDA-compatible cards are like that, and most mobo-integrated cards are Intel HDA-compatible), and because Sun's Java uses ALSA for playback, and ALSA implements no software multiplexing by default. God knows why, because it is capable of software multiplexing -- it just needs to be enabled manually. You'll be able to Google methods for enabling it.
One of the purposes of PulseAudio is, indeed, to implement software multiplexing. Unfortunately, Sun's Java doesn't use it.
One of the purposes of PulseAudio is, indeed, to implement software multiplexing. Unfortunately, Sun's Java doesn't use it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
notacunt
- Posts: 31
- Joined: Mon Jul 05, 2010 1:33 pm
Re: Linux Clients and Sound
The solution is to use the pulse audio oss wrapper, for example if you use the script 'run.sh' in the game directory to start the game then run
If this doesnt work try using the absolute file path:
Reference: http://www.tuxyturvy.com/blog/index.php ... Audio.html
Code: Select all
padsp run.shCode: Select all
padsp /home/user/games/haven/run.sh