Completed conf. Better name for snd_card_get_index. Cleaned card access

This commit is contained in:
Abramo Bagnara 2000-08-25 14:33:53 +00:00
parent 845d917797
commit b5576ef229
10 changed files with 144 additions and 89 deletions

View file

@ -84,7 +84,7 @@ int snd_ctl_file_descriptor(snd_ctl_t *handle)
return handle->fd;
}
int snd_ctl_hw_info(snd_ctl_t *handle, struct snd_ctl_hw_info *info)
int snd_ctl_hw_info(snd_ctl_t *handle, snd_ctl_hw_info_t *info)
{
assert(handle && info);
if (ioctl(handle->fd, SND_CTL_IOCTL_HW_INFO, info) < 0)