all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: 宋文武 <iyzsong@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: No sound in games using sdl-mixer
Date: Sun, 04 Oct 2015 14:28:24 +0300	[thread overview]
Message-ID: <87lhbian53.fsf@gmail.com> (raw)
In-Reply-To: <871tdbwdot.fsf@member.fsf.org> ("宋文武"'s message of "Sun, 04 Oct 2015 10:49:22 +0800")

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

> Alex Kost <alezost@gmail.com> writes:
>
>> 宋文武 (2015-10-03 06:33 +0300) wrote:
>>
>>> Alex Kost <alezost@gmail.com> 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	other threads:[~2015-10-04 11:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 16:58 No sound in games using sdl-mixer Alex Kost
2015-10-03  3:33 ` 宋文武
2015-10-03 14:37   ` Alex Kost
2015-10-04  2:49     ` 宋文武
2015-10-04 11:28       ` Alex Kost [this message]
2015-10-04 12:45         ` Ludovic Courtès
2015-10-04 18:46           ` Alex Kost
2015-10-04 19:46           ` Ricardo Wurmus
2015-10-05  8:40             ` Alex Kost
2015-10-05 14:41             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhbian53.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.