mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-22 01:40:08 -05:00
Completed conf. Better name for snd_card_get_index. Cleaned card access
This commit is contained in:
parent
845d917797
commit
b5576ef229
10 changed files with 144 additions and 89 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue