general: recoded snd_dlobj_ functions

- changed logic to get/put blocks
- added mutex locking of the symbol list
- added reference counting (do not free used dl handles)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-08-23 17:05:36 +02:00
parent be06ab3ee7
commit 91c9c8f1b8
7 changed files with 153 additions and 123 deletions

View file

@ -56,7 +56,7 @@ typedef struct _snd_ctl_ops {
struct _snd_ctl {
void *dl_handle;
void *open_func;
char *name;
snd_ctl_type_t type;
const snd_ctl_ops_t *ops;