Changeset 377
- Timestamp:
- Dec 4, 2007, 3:11:29 PM (17 years ago)
- Location:
- code/branches/audio
- Files:
-
- 1 added
- 3 deleted
- 7 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/audio/CMakeLists.txt
r350 r377 50 50 FIND_PACKAGE(Boost) 51 51 FIND_PACKAGE(OpenAL) 52 FIND_PACKAGE(ALUT) # Only for testing on my machine52 FIND_PACKAGE(ALUT) 53 53 54 54 #Sets the search paths for the linking 55 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${ OPENAL_LIB_DIR} ${ALUT_LIB_DIR} ${Boost_LIBRARY_DIRS} ${OPENAL_LIBRARY} core objects loader network weapon classHierarchy audio openal alut)55 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${Boost_LIBRARY_DIRS} ${OPENAL_LIBRARY} ${ALUT_LIBRARY} core objects loader network weapon classHierarchy audio) 56 56 #Sets the search path for include files 57 INCLUDE_DIRECTORIES(${OGRE_INCLUDE_DIR} ${OIS_INCLUDE_DIR} ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} ${ENet_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} )57 INCLUDE_DIRECTORIES(${OGRE_INCLUDE_DIR} ${OIS_INCLUDE_DIR} ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} ${ENet_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR}) 58 58 59 59 #add main source dir -
code/branches/audio/cmake/FindOpenAL.cmake
r345 r377 9 9 # used in building OpenAL. 10 10 # 11 11 12 # Created by Eric Wing. This was influenced by the FindSDL.cmake module. 12 13 # On OSX, this will prefer the Framework version (if found) over others. … … 16 17 # But for now, we have to look around. 17 18 # Other (Unix) systems should be able to utilize the non-framework paths. 18 FIND_PATH(OPENAL_INCLUDE_DIR al.h19 FIND_PATH(OPENAL_INCLUDE_DIR AL/al.h 19 20 $ENV{OPENALDIR}/include 20 21 ~/Library/Frameworks/OpenAL.framework/Headers 21 22 /Library/Frameworks/OpenAL.framework/Headers 22 23 /System/Library/Frameworks/OpenAL.framework/Headers # Tiger 23 /usr/pack/openal-0.0.8-cl/include /AL# Tardis specific hack24 /usr/local/include/ AL24 /usr/pack/openal-0.0.8-cl/include # Tardis specific hack 25 /usr/local/include/ 25 26 /usr/local/include/OpenAL 26 27 /usr/local/include 27 /usr/include/ AL28 /usr/include/ 28 29 /usr/include/OpenAL 29 30 /usr/include 30 /sw/include /AL# Fink31 /sw/include # Fink 31 32 /sw/include/OpenAL 32 33 /sw/include 33 /opt/local/include /AL# DarwinPorts34 /opt/local/include # DarwinPorts 34 35 /opt/local/include/OpenAL 35 36 /opt/local/include 36 /opt/csw/include /AL# Blastwave37 /opt/csw/include # Blastwave 37 38 /opt/csw/include/OpenAL 38 39 /opt/csw/include 39 /opt/include /AL40 /opt/include 40 41 /opt/include/OpenAL 41 42 /opt/include … … 69 70 $ENV{OPENALDIR}/lib 70 71 $ENV{OPENALDIR}/libs 72 /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1/lib 71 73 /usr/local/lib 72 74 /usr/lib … … 81 83 IF(OPENAL_LIBRARY) 82 84 SET(OPENAL_FOUND "YES") 85 MESSAGE(STATUS "OpenAL was found. Libdir ${OPENAL_LIBRARY} Includedir ${OPENAL_INCLUDE_DIR}") 83 86 ENDIF(OPENAL_LIBRARY) 84 87 -
code/branches/audio/src/audio
-
Property
svn:ignore
set to
cmake_install.cmake
CMakeFiles
libaudio.a
Makefile
-
Property
svn:ignore
set to
-
code/branches/audio/src/audio/AudioBuffer.h
r350 r377 6 6 #include <vector> 7 7 8 #include "../../include/AL/al.h"9 #include "../../include/AL/alc.h"10 #include "../../include/AL/alut.h"8 #include <AL/al.h> 9 #include <AL/alc.h> 10 #include <AL/alut.h> 11 11 12 12 namespace audio -
code/branches/audio/src/audio/AudioManager.h
r349 r377 6 6 #include <vector> 7 7 8 #include "../../include/AL/al.h"9 #include "../../include/AL/alc.h"10 #include "../../include/AL/alut.h"8 #include <AL/al.h> 9 #include <AL/alc.h> 10 #include <AL/alut.h> 11 11 12 12 #include "AudioBuffer.h" … … 30 30 // upwards the listener) 31 31 void setOri(std::vector<float> at, std::vector<float> up); 32 // Parses given xml string 33 void loadParams(); 32 34 private: 35 36 33 37 // Vector containing all audio files 34 38 std::vector<AudioBuffer> buffers; -
code/branches/audio/src/audio/AudioSource.h
r349 r377 6 6 #include <vector> 7 7 8 #include "../../include/AL/al.h"9 #include "../../include/AL/alc.h"10 #include "../../include/AL/alut.h"8 #include <AL/al.h> 9 #include <AL/alc.h> 10 #include <AL/alut.h> 11 11 12 12 namespace audio -
code/branches/audio/src/audio/_AudioObject.h
r347 r377 33 33 ALfloat ListenerVel[3]; 34 34 ALfloat ListenerOri[6]; 35 }; 36 37 38 39 40 35 }; 41 36 } 42 37 -
code/branches/audio/src/orxonox/CMakeLists.txt
r334 r377 6 6 ADD_EXECUTABLE(../../bin/main ${SRC_FILES} ${INC_FILES}) 7 7 8 TARGET_LINK_LIBRARIES(../../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${OPENAL_LIBRARIES}loader audio)8 TARGET_LINK_LIBRARIES(../../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} loader audio) 9 9 10 10 INCLUDE_DIRECTORIES(..)
Note: See TracChangeset
for help on using the changeset viewer.