mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
timer: Proper reference of internal versioned symbols
The multiply defined versioned symbols have to be called with INTERNAL() wrapper. Add the missing declarations of versioned timer API functions in the local header, and use them in the callers in PCM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d4e08c5e86
commit
f19d9575b0
4 changed files with 13 additions and 2 deletions
|
|
@ -73,3 +73,13 @@ int snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int
|
|||
int snd_timer_query_hw_open(snd_timer_query_t **handle, const char *name, int mode);
|
||||
|
||||
int snd_timer_async(snd_timer_t *timer, int sig, pid_t pid);
|
||||
|
||||
#ifdef INTERNAL
|
||||
int INTERNAL(snd_timer_params_set_exclusive)(snd_timer_params_t * params, int exclusive);
|
||||
int INTERNAL(snd_timer_params_get_exclusive)(snd_timer_params_t * params);
|
||||
void INTERNAL(snd_timer_params_set_filter)(snd_timer_params_t * params, unsigned int filter);
|
||||
unsigned int INTERNAL(snd_timer_params_get_filter)(snd_timer_params_t * params);
|
||||
int INTERNAL(snd_timer_query_info)(snd_timer_query_t *timer, snd_timer_ginfo_t *info);
|
||||
int INTERNAL(snd_timer_query_params)(snd_timer_query_t *timer, snd_timer_gparams_t *params);
|
||||
int INTERNAL(snd_timer_query_status)(snd_timer_query_t *timer, snd_timer_gstatus_t *status);
|
||||
#endif /* INTERNAL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue