aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sound.hpp2
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);