Minor fixes

This commit is contained in:
Lynix
2022-04-02 21:18:04 +02:00
parent 71db80c374
commit 5cd9f6fdcd
6 changed files with 13 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ namespace Nz
ALint sampleRate;
m_library.alGetBufferi(m_bufferId, AL_FREQUENCY, &sampleRate);
return SafeCast<UInt64>(sampleRate);
return SafeCast<UInt32>(sampleRate);
}
bool OpenALBuffer::IsCompatibleWith(const AudioDevice& device) const