Don't use alcGetEnumValue for non-ALC enum value
This makes no effective change for openal-soft as alGetEnumValue and alcGetEnumValue do lookup in the same table, but it's more semantically right and openal-soft is not the only implementation of the API
This commit is contained in:
parent
2be4641496
commit
5d20d585b3
|
@ -345,7 +345,7 @@ void Mixer::Track::createStream(AudioMsgId::Type type) {
|
|||
alSourcei(
|
||||
stream.source,
|
||||
alGetEnumValue("AL_DIRECT_CHANNELS_SOFT"),
|
||||
alcGetEnumValue(nullptr, "AL_REMIX_UNMATCHED_SOFT"));
|
||||
alGetEnumValue("AL_REMIX_UNMATCHED_SOFT"));
|
||||
}
|
||||
alGenBuffers(3, stream.buffers);
|
||||
if (speedEffect) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0a1290dd95ad750b242344a7bcb8c927da36550b
|
||||
Subproject commit 853b9d8cbe02460f405ce1d13beb3a5be46a007f
|
Loading…
Reference in New Issue