Name cleaning for hwdep and timer API

This commit is contained in:
Abramo Bagnara 2001-03-29 11:18:16 +00:00
parent 08232943a2
commit ee6d9f1bbd
5 changed files with 45 additions and 45 deletions

View file

@ -70,10 +70,10 @@ const char *snd_hwdep_info_get_name(const snd_hwdep_info_t *obj)
return obj->name;
}
snd_hwdep_type_t snd_hwdep_info_get_type(const snd_hwdep_info_t *obj)
snd_hwdep_iface_t snd_hwdep_info_get_iface(const snd_hwdep_info_t *obj)
{
assert(obj);
return snd_int_to_enum(obj->type);
return snd_int_to_enum(obj->iface);
}
void snd_hwdep_info_set_device(snd_hwdep_info_t *obj, unsigned int val)