diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-08-31 17:11:59 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-08-31 17:11:59 +0400 |
commit | 19a24abcb2584c9c76c14ec32610df11a72bd0c3 (patch) | |
tree | cc00ac58df703fd8116e17fb0f534bbd02375660 /intern/SoundSystem | |
parent | e525578f4d2aecbd0ea53208fa83ec6f3e2f163a (diff) |
two more vars that were questionably not initalized...
Kent
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r-- | intern/SoundSystem/openal/SND_OpenALDevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index dfac8333a33..49ce3664d10 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -369,6 +369,9 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name, int samplerate, numberofsamples, frequency; // openal_2.14+ #endif + /* Give them some safe defaults just incase */ + bitrate = numberofchannels = 0; + /* load the sample from memory? */ if (size && memlocation) { |