Support dl-object cache

Added the support of dl-object caches for PCM plugins.
This commit is contained in:
Takashi Iwai 2005-02-14 15:09:09 +00:00
parent 08fc630594
commit d8f7de1b16
5 changed files with 93 additions and 3 deletions

View file

@ -232,4 +232,9 @@ static inline int snd_open_device(const char *filename, int fmode)
#define snd_open_device(filename, fmode) open(filename, fmode);
#endif
/* dlobj cache */
void *snd_dlobj_cache_lookup(const char *name);
int snd_dlobj_cache_add(const char *name, void *dlobj, void *open_func);
void snd_dlobj_cache_cleanup(void);
#endif