Added experimental Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
6ce29b542a
commit
f59052157d
1458
src/ide/Xcode/STK_XCode.xcodeproj/mmg.mode1
Normal file
1458
src/ide/Xcode/STK_XCode.xcodeproj/mmg.mode1
Normal file
File diff suppressed because it is too large
Load Diff
1973
src/ide/Xcode/STK_XCode.xcodeproj/mmg.pbxuser
Normal file
1973
src/ide/Xcode/STK_XCode.xcodeproj/mmg.pbxuser
Normal file
File diff suppressed because it is too large
Load Diff
1276
src/ide/Xcode/STK_XCode.xcodeproj/project.pbxproj
Normal file
1276
src/ide/Xcode/STK_XCode.xcodeproj/project.pbxproj
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,6 +26,7 @@
|
||||
# include <AL/al.h>
|
||||
#endif
|
||||
|
||||
#include <SDL/SDL_endian.h>
|
||||
#include "music_ogg.hpp"
|
||||
#include "file_manager.hpp"
|
||||
#include "user_config.hpp"
|
||||
@ -280,7 +281,7 @@ void MusicOggStream::update()
|
||||
bool MusicOggStream::streamIntoBuffer(ALuint buffer)
|
||||
{
|
||||
char pcm[BUFFER_SIZE];
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#if defined(WORDS_BIGENDIAN) || SDL_BYTEORDER==SDL_BIG_ENDIAN
|
||||
int isBigEndian = 1;
|
||||
#else
|
||||
int isBigEndian = 0;
|
||||
|
@ -103,7 +103,7 @@ bool SFXImpl::load(const char* filename)
|
||||
if( spec.channels == 2 ) format = AL_FORMAT_STEREO16;
|
||||
else format = AL_FORMAT_MONO16;
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#if defined(WORDS_BIGENDIAN) || SDL_BYTEORDER==SDL_BIG_ENDIAN
|
||||
// swap bytes around for big-endian systems
|
||||
for(unsigned int n=0; n<size-1; n+=2)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user