Report correct sound server name (noted by Don Harrop).
SVN revision: 40606
This commit is contained in:
parent
24e0a0d7e8
commit
b0f7f5063c
12
src/sound.c
12
src/sound.c
|
@ -30,6 +30,14 @@
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "sounds.h"
|
#include "sounds.h"
|
||||||
|
|
||||||
|
#if HAVE_SOUND_ESD
|
||||||
|
#define SOUND_SERVER_NAME "esd"
|
||||||
|
#elif HAVE_SOUND_PA
|
||||||
|
#define SOUND_SERVER_NAME "pulseaudio"
|
||||||
|
#else
|
||||||
|
#error Invalid sound configuration
|
||||||
|
#endif
|
||||||
|
|
||||||
#define N_SOUNDS (SOUND_NOT_USED - 1)
|
#define N_SOUNDS (SOUND_NOT_USED - 1)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -301,8 +309,8 @@ SoundInit(void)
|
||||||
Conf_sound.enable = 0;
|
Conf_sound.enable = 0;
|
||||||
AlertX(_("Error initialising sound"), _("OK"), NULL, NULL,
|
AlertX(_("Error initialising sound"), _("OK"), NULL, NULL,
|
||||||
_("Audio was enabled for Enlightenment but there was an error\n"
|
_("Audio was enabled for Enlightenment but there was an error\n"
|
||||||
"communicating with the audio server (Esound). Audio will\n"
|
"communicating with the audio server (%s).\n"
|
||||||
"now be disabled.\n"));
|
"Audio will now be disabled.\n"), SOUND_SERVER_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
_SoundConfigLoad();
|
_SoundConfigLoad();
|
||||||
|
|
Loading…
Reference in New Issue