mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Added snd_asoundlib_version()
This commit is contained in:
parent
ba4ddd169f
commit
a66204cd12
3 changed files with 12 additions and 0 deletions
|
|
@ -102,3 +102,12 @@ int snd_lib_error_set_handler(snd_lib_error_handler_t handler)
|
|||
snd_lib_error = handler == NULL ? snd_lib_error_default : handler;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Returns the ALSA sound library version in ASCII format
|
||||
* \return The ASCII description of the used ALSA sound library.
|
||||
*/
|
||||
const char *snd_asoundlib_version(void)
|
||||
{
|
||||
return SND_LIB_VERSION_STR;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue