fixed the compilation without jack support.

This commit is contained in:
Takashi Iwai 2003-02-17 14:34:41 +00:00
parent f40c238a41
commit 5ed2575811

View file

@ -20,6 +20,8 @@
#ifndef PIC #ifndef PIC
#include "config.h"
extern const char *_snd_module_pcm_adpcm; extern const char *_snd_module_pcm_adpcm;
extern const char *_snd_module_pcm_alaw; extern const char *_snd_module_pcm_alaw;
extern const char *_snd_module_pcm_copy; extern const char *_snd_module_pcm_copy;
@ -39,7 +41,9 @@ extern const char *_snd_module_pcm_shm;
extern const char *_snd_module_pcm_lfloat; extern const char *_snd_module_pcm_lfloat;
extern const char *_snd_module_pcm_ladspa; extern const char *_snd_module_pcm_ladspa;
extern const char *_snd_module_pcm_dmix; extern const char *_snd_module_pcm_dmix;
#ifdef HAVE_JACK
extern const char *_snd_module_pcm_jack; extern const char *_snd_module_pcm_jack;
#endif
static const char **snd_pcm_open_objects[] = { static const char **snd_pcm_open_objects[] = {
&_snd_module_pcm_adpcm, &_snd_module_pcm_adpcm,
@ -61,7 +65,9 @@ static const char **snd_pcm_open_objects[] = {
&_snd_module_pcm_lfloat, &_snd_module_pcm_lfloat,
&_snd_module_pcm_ladspa, &_snd_module_pcm_ladspa,
&_snd_module_pcm_dmix, &_snd_module_pcm_dmix,
#ifdef HAVE_JACK
&_snd_module_pcm_jack &_snd_module_pcm_jack
#endif
}; };
void *snd_pcm_open_symbols(void) void *snd_pcm_open_symbols(void)