* sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA.
This commit is contained in:
parent
ff57c2ec02
commit
12959e8ec2
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue