Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2007, 3:00:26 PM (17 years ago)
Author:
nicolape
Message:

Oggvorbis includes and linking now working

Location:
code/branches/audio/src/audio
Files:
1 added
4 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/audio/src/audio/AudioBuffer.h

    r377 r394  
    22#define AUDIOBUFFER_H_
    33
    4 #include <iostream>
    5 #include <string>
    6 #include <vector>
    7 
    8 #include <AL/al.h>
    9 #include <AL/alc.h>
    10 #include <AL/alut.h>
     4#include "AudioIncludes.h"
    115
    126namespace audio
  • code/branches/audio/src/audio/AudioManager.cc

    r349 r394  
    55        AudioManager::AudioManager()
    66        {
    7                
     7       
    88        }
    99               
  • code/branches/audio/src/audio/AudioManager.h

    r377 r394  
    22#define AUDIOMANAGER_H_
    33
    4 #include <iostream>
    5 #include <string>
    6 #include <vector>
    7 
    8 #include <AL/al.h>
    9 #include <AL/alc.h>
    10 #include <AL/alut.h>
     4#include "AudioIncludes.h"
    115
    126#include "AudioBuffer.h"
     
    3327                void loadParams();
    3428        private:
    35 
    36        
    3729                // Vector containing all audio files
    3830                std::vector<AudioBuffer> buffers;
  • code/branches/audio/src/audio/AudioSource.h

    r377 r394  
    22#define AUDIOSOURCE_H_
    33
    4 #include <iostream>
    5 #include <string>
    6 #include <vector>
    7 
    8 #include <AL/al.h>
    9 #include <AL/alc.h>
    10 #include <AL/alut.h>
     4#include "AudioIncludes.h"
    115
    126namespace audio
  • code/branches/audio/src/audio/CMakeLists.txt

    r388 r394  
    77)
    88SET(INC_FILES
     9        AudioIncludes.h
    910        AudioManager.h
    1011        AudioBuffer.h
     
    1516ADD_LIBRARY(audio ${SRC_FILES} ${INC_FILES})
    1617
    17 TARGET_LINK_LIBRARIES(audio ${OPENAL_LIBRARY} ${ALUT_LIBRARY} ${OGGVORBIS_LIBRARY})
     18TARGET_LINK_LIBRARIES(audio ${OPENAL_LIBRARY} ${ALUT_LIBRARY} ${OGGVORBIS_LIBRARY}  ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY})
    1819
    1920
Note: See TracChangeset for help on using the changeset viewer.