From 5871abc42ff0c05726adb0be3b5a6dd4ee095b50 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 2 Oct 2022 01:04:57 +0200 Subject: Allow giving audio inputs names by prefixing them with / --- include/sound.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3