mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-06-04 03:03:31 -04:00
Changes for static build.
This commit is contained in:
parent
caa8d5372e
commit
27472b56a6
44 changed files with 362 additions and 158 deletions
|
|
@ -27,6 +27,11 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include "hwdep_local.h"
|
||||
|
||||
#ifndef PIC
|
||||
/* entry for static linking */
|
||||
const char *_snd_module_hwdep_hw = "";
|
||||
#endif
|
||||
|
||||
#define SNDRV_FILE_HWDEP "/dev/snd/hwC%iD%i"
|
||||
#define SNDRV_HWDEP_VERSION_MAX SNDRV_PROTOCOL_VERSION(1, 0, 0)
|
||||
|
||||
|
|
@ -137,7 +142,6 @@ int snd_hwdep_hw_open(snd_hwdep_t **handle, const char *name, int card, int devi
|
|||
return 0;
|
||||
}
|
||||
|
||||
SND_DLSYM_BUILD_VERSION(_snd_hwdep_hw_open, SND_HWDEP_DLSYM_VERSION);
|
||||
int _snd_hwdep_hw_open(snd_hwdep_t **hwdep, char *name,
|
||||
snd_config_t *root ATTRIBUTE_UNUSED,
|
||||
snd_config_t *conf, int mode)
|
||||
|
|
@ -178,3 +182,4 @@ int _snd_hwdep_hw_open(snd_hwdep_t **hwdep, char *name,
|
|||
return -EINVAL;
|
||||
return snd_hwdep_hw_open(hwdep, name, card, device, mode);
|
||||
}
|
||||
SND_DLSYM_BUILD_VERSION(_snd_hwdep_hw_open, SND_HWDEP_DLSYM_VERSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue