Commit 12959e8e authored by Paul Eggert's avatar Paul Eggert

* sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA.

parent ff57c2ec
2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
* sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA.
2012-05-10 Dave Abrahams <dave@boostpro.com>
* filelock.c (syms_of_filelock): New boolean create-lockfiles.
......
......@@ -124,9 +124,6 @@ static int parse_sound (Lisp_Object, Lisp_Object *);
#ifndef DEFAULT_SOUND_DEVICE
#define DEFAULT_SOUND_DEVICE "/dev/dsp"
#endif
#ifndef DEFAULT_ALSA_SOUND_DEVICE
#define DEFAULT_ALSA_SOUND_DEVICE "default"
#endif
/* Structure forward declarations. */
......@@ -908,6 +905,10 @@ vox_write (struct sound_device *sd, const char *buffer, EMACS_INT nbytes)
/* This driver is available on GNU/Linux. */
#ifndef DEFAULT_ALSA_SOUND_DEVICE
#define DEFAULT_ALSA_SOUND_DEVICE "default"
#endif
static void
alsa_sound_perror (const char *msg, int err)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment