guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No sound in games using sdl-mixer


From: Alex Kost
Subject: Re: No sound in games using sdl-mixer
Date: Sun, 04 Oct 2015 14:28:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

宋文武 (2015-10-04 05:49 +0300) wrote:

> Alex Kost <address@hidden> writes:
>
>> 宋文武 (2015-10-03 06:33 +0300) wrote:
>>
>>> Alex Kost <address@hidden> writes:
>>>
>>>> Hello, I have tried several games that use sdl-mixer (wesnoth, pingus,
>>>> gnujump, extremetuxracer) and I didn't get any sound from them.  Does
>>>> anyone have this issue?
>>>>
>>>> My audio system is OK, I can play various formats using "aplay", "mpv",
>>>> etc., I just don't have sound in those games.
>>>>
>>>> It's just my guess that "sdl-mixer" is the problem, actually I'm
>>>> absolutely clueless how to debug it.
>>> I have no issue with sound on GuixSD.
>>>
>>> You can launch those games with 'SDL_AUDIODRIVER',
>>> set to 'alsa' or 'pulse'.
>>>
>>> Hope it helps.
>>
>> Wow!  This is it, thank you very much!!  Now I'm happy :-)
>>
>> (I'm also on GuixSD) So I didn't get it: do you also use SDL_AUDIODRIVER
>> or does it just work for you?
> No, it just work for me.

Hm, interesting.

>> If "no sound" is the default, I think we should probably do something
>> about it.
> What values of 'SDL_AUDIODRIVER' work for you?

I don't use pulseaudio, so all I did is "export SDL_AUDIODRIVER=alsa",
and the sound appeared.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]