Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A few bugs in SVN
04-01-2007, 12:43 PM,
#10
 
trunk wasn't compiling anymore since about 1654, this fixes it but i don't know if it is correct:
Code:
Index: include/sound.h
===================================================================
--- include/sound.h     (Revision 1667)
+++ include/sound.h     (Arbeitskopie)
@@ -41,7 +41,7 @@

        void Load(const string & filename, const SOUNDINFO & sound_device_info);
        void Unload() {if (loaded && sound_buffer != NULL) delete [] sound_buffer;sound_buffer = NULL;}
-       const SOUNDINFO & GetSoundInfo() const;
+       const SOUNDINFO & GetSoundInfo() const {return info;}
        //const SOUNDINFO & GetOriginalInfo() {return original_info;}
        //const unsigned int GetSize() {return size;}
        //void ConvertTo(const SOUNDINFO & to_info);
Index: src/sound.cpp
===================================================================
--- src/sound.cpp       (Revision 1667)
+++ src/sound.cpp       (Arbeitskopie)
@@ -946,11 +946,6 @@
        sample_pos = (sample_pos + offset*playing) % buffer->GetSoundInfo().GetSamples();
}

-inline const SOUNDINFO & SOUNDBUFFER::GetSoundInfo() const
-{
-       return info;
-}
-
SOUNDSOURCE & SOUND::NewSource(const string & buffername)
{
        if (disable)
Reply


Messages In This Thread
A few bugs in SVN - by thelusiv - 03-30-2007, 04:23 AM
[No subject] - by thelusiv - 03-30-2007, 08:09 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-30-2007, 09:13 PM
[No subject] - by thelusiv - 03-31-2007, 06:51 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-31-2007, 11:54 AM
[No subject] - by thelusiv - 03-31-2007, 02:30 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-31-2007, 06:31 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-31-2007, 06:59 PM
[No subject] - by thelusiv - 03-31-2007, 11:37 PM
[No subject] - by abs1nth - 04-01-2007, 12:43 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-01-2007, 01:11 PM
[No subject] - by abs1nth - 04-01-2007, 01:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)