mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
sndrv_ctl_card_info_t->abbreviation member changed to driver
This commit is contained in:
parent
bc581b87ae
commit
be8e3bb72d
2 changed files with 5 additions and 5 deletions
|
|
@ -352,7 +352,7 @@ void snd_ctl_card_info_copy(snd_ctl_card_info_t *dst, const snd_ctl_card_info_t
|
|||
int snd_ctl_card_info_get_card(const snd_ctl_card_info_t *obj);
|
||||
snd_card_type_t snd_ctl_card_info_get_type(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_id(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_abbreviation(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_driver(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_name(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_longname(const snd_ctl_card_info_t *obj);
|
||||
const char *snd_ctl_card_info_get_mixerid(const snd_ctl_card_info_t *obj);
|
||||
|
|
|
|||
|
|
@ -1010,14 +1010,14 @@ const char *snd_ctl_card_info_get_id(const snd_ctl_card_info_t *obj)
|
|||
}
|
||||
|
||||
/**
|
||||
* \brief Get card abbreviation from a CTL card info
|
||||
* \brief Get card driver name from a CTL card info
|
||||
* \param obj CTL card info
|
||||
* \return card abbreviation
|
||||
* \return card driver name
|
||||
*/
|
||||
const char *snd_ctl_card_info_get_abbreviation(const snd_ctl_card_info_t *obj)
|
||||
const char *snd_ctl_card_info_get_driver(const snd_ctl_card_info_t *obj)
|
||||
{
|
||||
assert(obj);
|
||||
return obj->abbreviation;
|
||||
return obj->driver;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue