Log In  

I bought Voxatron Alpha in the Humble Voxatron Debut. I tried it out, and noticed the sound effects weren't working. The music was working, but not the sound effects. My friend tried it out too and it worked for him, but he is using PulseAudio. I prefer ALSA. I tried using the aoss wrapper to start the game, but no luck. Then I tried running the Windows version in WINE, and the sound effects worked. But some aspects are slower.
Any fix?

P#1634 2011-10-31 15:49 ( Edited 2011-11-01 22:28)

Does sound work in any other SDL game?

P#1654 2011-10-31 16:19 ( Edited 2011-10-31 20:19)

I'm not sure what an SDL game is but I have a lot of other native linux games that the sound works on. But in this game, the music works for me but the sound effects don't. I have been playing the Windows version under WINE though.

P#1672 2011-10-31 17:14 ( Edited 2011-10-31 21:15)

A SDL game is a game that uses the SDL library, it's library for making portable games for music and graphics. Voxatron however seams to be linked with libpulse so it might use pulse for the sound effects and only SDL for the music. Only Lexaloffle knows.

Are you one of these guys who uninstall pulse because you think that pulse is the reason you don't get sound in other games?

P#1679 2011-10-31 17:34 ( Edited 2011-10-31 21:34)

I uninstalled Pulseaudio because of incompatibilities with some of my Windows-only games that I run in Wine.

P#1688 2011-10-31 18:07 ( Edited 2011-10-31 22:08)

Ok, yeah Wine just rewrote their entire sound architecture and a pulse driver is currently lacking. I have however never had any problems with wine and pulse, even runs 1.3.31 fine. Could be that your distribution of choice doesn't have compatible versions of wine and pulse (I run Ubuntu myself).

P#1734 2011-10-31 20:06 ( Edited 2011-11-01 00:06)

No I run Ubuntu also. I just prefer ALSA because of the annoyances I have with Wine and Pulse.

P#1761 2011-10-31 21:11 ( Edited 2011-11-01 01:11)

It's extremely weird that the sound should work but not the music. They're both mixed by Voxatron into the same output channel!

Could you do me a favour and email your log.txt and config.txt files? -> [email protected]

You can find them in ~/.lexaloffle/Voxatron

P#1764 2011-10-31 21:21 ( Edited 2011-11-01 01:21)

I sent them. :)

P#1774 2011-10-31 22:22 ( Edited 2011-11-01 02:22)

Edit: I fixed it by changing Sound from 0 to 1 in config.txt

P#1778 2011-10-31 22:29 ( Edited 2011-11-01 02:29)

>Voxatron however seams to be linked with libpulse

Argh, that one was a big mistake on my part. I forgot that ldd also shows libraries brought in by the other libs and since my libSDL is linked with pulse, libpulse was shown in ldd output for vox...

Sorry for the confusion!

P#2017 2011-11-01 14:45 ( Edited 2011-11-01 18:45)

Henrik: in any case, even if libSDL is using PulseAudio, it never shows up as linked with it: it is loaded dynamically when needed, I think so that people can ship libSDLs that support every audio system going without requiring every user to have the libs for all of them.

The only way you can tell if a libSDL binary you've been given supports a given sound driver is to dig through its symbol table, find the appropriate symbols to manipulate that sound driver, and compare addresses to see if the functions are empty stubs or have content. This is quite irritating!

P#2080 2011-11-01 17:22 ( Edited 2011-11-01 21:22)

Well libSDL links with something that brings libpulse in somehow :-)

henrik@ubuntu:~$ ldd /usr/lib32/libSDL-1.2.so.0
...
libpulse-simple.so.0 => /usr/lib32/libpulse-simple.so.0 (0xf764e000)
libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf7600000)
libpulsecommon-1.0.so => /usr/lib32/libpulsecommon-1.0.so (0xf7406000)
...

And interestingly enough the libSDL bundled with Voxatron does not...

P#2108 2011-11-01 18:28 ( Edited 2011-11-01 22:29)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 12:06:14 | 0.012s | Q:23