Initialize srate variable in openal_output

pull/429/head^2
Andrei Kortunov 7 years ago
parent e5db5e2651
commit a68de93308

@ -952,7 +952,7 @@ std::pair<Sound_Handle,size_t> OpenAL_Output::loadSound(const std::string &fname
std::vector<char> data; std::vector<char> data;
ALenum format = AL_NONE; ALenum format = AL_NONE;
int srate; int srate = 0;
try try
{ {

Loading…
Cancel
Save