Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2008, 11:24:44 PM (17 years ago)
Author:
rgrieder
Message:
  • set the svn:eol-style property to all files so, that where ever you check out, you'll get the right line endings (had to change every file with mixed endings to windows in order to set the property)
Location:
code/branches/network/src/audio
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/audio/AudioBuffer.cc

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioBuffer.h

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioIncludes.h

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
     
    2726 */
    2827
    29 /**
    30   @file
    31   @brief Various headers used in the audio lib. Avoid including this to
    32          increase accuracy of header file dependencies.
    33 */
    34 
     28/**  @file  @brief Various headers used in the audio lib. Avoid including this to         increase accuracy of header file dependencies.*/
    3529#include "AudioPrereqs.h"
    3630
  • code/branches/network/src/audio/AudioManager.cc

    • Property svn:eol-style set to native
    r1089 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioManager.h

    • Property svn:eol-style set to native
    r1064 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioPrereqs.h

    • Property svn:eol-style set to native
    r1414 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
     
    3736#include "util/OrxonoxPlatform.h"
    3837
    39 //-----------------------------------------------------------------------
    40 // Shared library settings
    41 //-----------------------------------------------------------------------
    42 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD )
    43 #  ifdef AUDIO_SHARED_BUILD
    44 #    define _AudioExport __declspec(dllexport)
    45 #  else
    46 #    if defined( __MINGW32__ )
    47 #      define _AudioExport
    48 #    else
    49 #      define _AudioExport __declspec(dllimport)
    50 #    endif
    51 #  endif
    52 #elif defined ( ORXONOX_GCC_VISIBILITY )
    53 #  define _AudioExport  __attribute__ ((visibility("default")))
    54 #else
    55 #  define _AudioExport
    56 #endif
    57 
    58 
    59 //-----------------------------------------------------------------------
    60 // Forward declarations
    61 //-----------------------------------------------------------------------
     38//-----------------------------------------------------------------------// Shared library settings//-----------------------------------------------------------------------#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD )#  ifdef AUDIO_SHARED_BUILD#    define _AudioExport __declspec(dllexport)#  else#    if defined( __MINGW32__ )#      define _AudioExport#    else#      define _AudioExport __declspec(dllimport)#    endif#  endif#elif defined ( ORXONOX_GCC_VISIBILITY )#  define _AudioExport  __attribute__ ((visibility("default")))#else#  define _AudioExport#endif
     39//-----------------------------------------------------------------------// Forward declarations//-----------------------------------------------------------------------
    6240namespace audio
    6341{
     
    6846}
    6947
    70 //-----------------------------------------------------------------------
    71 // Warnings
    72 //-----------------------------------------------------------------------
     48//-----------------------------------------------------------------------// Warnings//-----------------------------------------------------------------------
    7349#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    7450
    75 // set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data
    76 #pragma warning (4 : 4244)
    77 
    78 #endif
    79 
     51// set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data#pragma warning (4 : 4244)#endif
    8052
    8153#endif /* _AudioPrereqs_H__ */
  • code/branches/network/src/audio/AudioSource.cc

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioSource.h

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
  • code/branches/network/src/audio/AudioStream.cc

    • Property svn:eol-style set to native
  • code/branches/network/src/audio/AudioStream.h

    • Property svn:eol-style set to native
    r1056 r1494  
    11/*
    22 *   ORXONOX - the hottest 3D action shooter ever to exist
    3  *                    > www.orxonox.net <
    4  *
     3 *                    > www.orxonox.net < *
    54 *
    65 *   License notice:
     
    2726 */
    2827
    29 #ifndef _AudioStream_H__
    30 #define _AudioStream_H__
    31 
     28#ifndef _AudioStream_H__#define _AudioStream_H__
    3229#include "AudioPrereqs.h"
    3330
     
    3835#include <vorbis/vorbisfile.h>
    3936#include <vorbis/codec.h>
    40 
    41 namespace audio
    42 {
    43   #define BUFFER_SIZE (4096 * 4)
    44 
    45   class _AudioExport AudioStream
    46   {
    47     public:
    48       AudioStream(std::string path);
    49       void open();
    50       void release();
    51       void display();
    52       bool playback();
    53       bool playing();
    54       bool update();
    55       inline bool isLoaded() { return loaded; }
    56 
    57     protected:
    58       bool stream(ALuint buffer);
    59       void empty();
    60       void check();
    61       std::string errorString(int code);
    62 
    63     private:
    64       std::string path;
    65 
    66       FILE*           oggFile;
    67       OggVorbis_File  oggStream;
    68       vorbis_info*    vorbisInfo;
    69       vorbis_comment* vorbisComment;
    70       bool loaded;
    71 
    72       ALuint buffers[2];
    73       ALuint source;
    74       ALenum format;
    75   };
    76 }
    77 
    78 #endif /* _AudioStream_H__ */
     37namespace audio{  #define BUFFER_SIZE (4096 * 4)  class _AudioExport AudioStream  {    public:      AudioStream(std::string path);      void open();      void release();      void display();      bool playback();      bool playing();      bool update();      inline bool isLoaded() { return loaded; }
     38    protected:      bool stream(ALuint buffer);      void empty();      void check();      std::string errorString(int code);    private:      std::string path;
     39      FILE*           oggFile;      OggVorbis_File  oggStream;      vorbis_info*    vorbisInfo;      vorbis_comment* vorbisComment;      bool loaded;
     40      ALuint buffers[2];      ALuint source;      ALenum format;  };}#endif /* _AudioStream_H__ */
  • code/branches/network/src/audio/CMakeLists.txt

    • Property svn:eol-style set to native
Note: See TracChangeset for help on using the changeset viewer.