diff options
Diffstat (limited to '')
-rw-r--r-- | libgamepad.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgamepad.h b/libgamepad.h index 5b6c46c..46a09e2 100644 --- a/libgamepad.h +++ b/libgamepad.h @@ -339,6 +339,15 @@ int libgamepad_open_superdevice(struct libgamepad_superdevice *, const char *); */ void libgamepad_close_superdevice(struct libgamepad_superdevice *); +/** + * Search for sound devices built into or attached a device + * + * @param syspath The superdevice's path in /sys + * @param cardsp Output parameter for a list of sound card indices + * @return The number of found sound cards, -1 on failure + */ +ssize_t libgamepad_find_sound_devices(const char *, size_t **); + /** * Create a device attachment monitor |