diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-02 01:04:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-02 01:04:57 +0200 |
commit | 5871abc42ff0c05726adb0be3b5a6dd4ee095b50 (patch) | |
tree | 30e2a849db11d0ce1dcde119ec0919c9bab878a5 /include/sound.hpp | |
parent | a1f7fedcb8ef87787b19c9eac86e8394b27ad3e5 (diff) |
Allow giving audio inputs names by prefixing them with <name>/
Diffstat (limited to 'include/sound.hpp')
-rw-r--r-- | include/sound.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound.hpp b/include/sound.hpp index d8ad322..710533e 100644 --- a/include/sound.hpp +++ b/include/sound.hpp @@ -37,7 +37,7 @@ struct AudioInput { to clean up internal resources. Returns 0 on success, or a negative value on failure. */ -int sound_device_get_by_name(SoundDevice *device, const char *name = "default", unsigned int num_channels = 2, unsigned int period_frame_size = 32); +int sound_device_get_by_name(SoundDevice *device, const char *device_name, const char *description, unsigned int num_channels, unsigned int period_frame_size); void sound_device_close(SoundDevice *device); |