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: Ricardo Wurmus
Subject: Re: No sound in games using sdl-mixer
Date: Sun, 04 Oct 2015 21:46:57 +0200
User-agent: mu4e 0.9.13; emacs 24.5.1

Ludovic Courtès <address@hidden> writes:

> FWIW I just tried ExtremeTuxRacer and it works out of the box for me (on
> GuixSD).
>
> I do use PulseAudio though.  To allow ETR’s sound output to mix with
> other things that may be playing sound already, I have this in my
> ~/.asoundrc:
>
> --8<---------------cut here---------------start------------->8---
> pcm.!default {
>     type pulse
> }
> --8<---------------cut here---------------end--------------->8---
>
> Should we add it to the account skeletons?

I don’t think that’s a good idea.  This means that the ALSA library will
always try to output to the “pulse” backend, which may not exist.  For
example, I do not use PulseAudio, so I do not have the “pulse” backend,
so this ~/.asoundrc setting would not work in my case.  (I don’t know if
it would do harm, to be fair.)

Is there a better way to make sdl-mixer output to the ALSA backend by
default?  I think outputing to ALSA is a safe default choice, as most
applications do not directly output to PulseAudio but to ALSA.

~~ Ricardo




reply via email to

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