From d9eb44fae0953863b49c46666380dbffaec60b6b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 25 Feb 2025 22:55:27 +0100 Subject: Audio device capture: make default output/input switch recording source the default output/input is changed in the audio server --- include/sound.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sound.hpp b/include/sound.hpp index 215e167..95bd6f2 100644 --- a/include/sound.hpp +++ b/include/sound.hpp @@ -61,6 +61,7 @@ typedef enum { /* Get a sound device by name, returning the device into the |device| parameter. + |device_name| can be a device name or "default_output" or "default_input". Returns 0 on success, or a negative value on failure. */ int sound_device_get_by_name(SoundDevice *device, const char *device_name, const char *description, unsigned int num_channels, unsigned int period_frame_size, AudioFormat audio_format); -- cgit v1.2.3-70-g09d2