two more vars that were questionably not initalized...
authorKent Mein <mein@cs.umn.edu>
Tue, 31 Aug 2004 13:11:59 +0000 (13:11 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 31 Aug 2004 13:11:59 +0000 (13:11 +0000)
Kent

intern/SoundSystem/openal/SND_OpenALDevice.cpp

index dfac8333a338796c29f22d6b95576f71a6bf6a35..49ce3664d106da550679bf9d07476ce03aebd2ab 100644 (file)
@@ -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)
                                {