mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed C++ compilation
This commit is contained in:
parent
de19407578
commit
e3bdf9a022
1 changed files with 2 additions and 2 deletions
|
|
@ -629,13 +629,13 @@ const char *snd_pcm_info_subdevice_name(snd_pcm_info_t *info)
|
|||
snd_pcm_class_t snd_pcm_info_device_class(snd_pcm_info_t *info)
|
||||
{
|
||||
assert(info);
|
||||
return info->class;
|
||||
return info->dev_class;
|
||||
}
|
||||
|
||||
snd_pcm_subclass_t snd_pcm_info_device_subclass(snd_pcm_info_t *info)
|
||||
{
|
||||
assert(info);
|
||||
return info->subclass;
|
||||
return info->dev_subclass;
|
||||
}
|
||||
|
||||
unsigned int snd_pcm_info_subdevices_count(snd_pcm_info_t *info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue