aboutsummaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-07 22:39:03 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-07 22:39:03 +0100
commit655fd3756be4507030aac1d497e579cfc0070f3c (patch)
treeedff7308f3da98e5b97bd7e22817a0f2f704f73a /src/sound.cpp
parent175ed79b06ecb5615eff1df26e932cf644d78300 (diff)
Comment out unused egl priority for now because amd error is misleading
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index d72187c..3359d3c 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -276,7 +276,7 @@ int sound_device_get_by_name(SoundDevice *device, const char *device_name, const
int error = 0;
pa_handle *handle = pa_sound_device_new(nullptr, description, device_name, description, &ss, &buffer_attr, &error);
if(!handle) {
- fprintf(stderr, "pa_sound_device_new() failed: %s. Audio input device %s might not be valid\n", pa_strerror(error), description);
+ fprintf(stderr, "pa_sound_device_new() failed: %s. Audio input device %s might not be valid\n", pa_strerror(error), device_name);
return -1;
}