We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1959fa commit 534c127Copy full SHA for 534c127
Sources/nCine/Audio/ALAudioDevice.cpp
@@ -127,13 +127,15 @@ namespace nCine
127
LOGI("ALC_EXT_EFX Version: unsupported", hasExtEfx);
128
}
129
130
+#if defined(AL_DEFAULT_RESAMPLER_SOFT)
131
if (alIsExtensionPresent("AL_SOFT_source_resampler")) {
132
ALCint defaultResampler = alGetInteger(AL_DEFAULT_RESAMPLER_SOFT);
133
const ALchar* resamplerName = alGetStringiSOFT(AL_RESAMPLER_NAME_SOFT, defaultResampler);
134
if (resamplerName != nullptr && resamplerName[0] != '\0') {
135
LOGI("Resampler: {} ({})", resamplerName, defaultResampler);
136
137
138
+#endif
139
140
LOGI("Sources: {} (M) / {} (S)", monoSources, stereoSources);
141
0 commit comments