mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 14:59:01 +00:00
Changed: #1030 Implement music streaming in OpenAL driver
This commit is contained in:
parent
fd41d63b2a
commit
ff02f35b70
2 changed files with 5 additions and 8 deletions
|
@ -126,6 +126,9 @@ IF(WITH_3D)
|
|||
ENDIF(WITH_3D)
|
||||
|
||||
IF(WITH_SOUND)
|
||||
FIND_PACKAGE(Ogg)
|
||||
FIND_PACKAGE(Vorbis)
|
||||
|
||||
IF(WITH_DRIVER_OPENAL)
|
||||
FIND_PACKAGE(OpenAL)
|
||||
ENDIF(WITH_DRIVER_OPENAL)
|
||||
|
@ -133,11 +136,6 @@ IF(WITH_SOUND)
|
|||
IF(WITH_DRIVER_FMOD)
|
||||
FIND_PACKAGE(FMOD)
|
||||
ENDIF(WITH_DRIVER_FMOD)
|
||||
|
||||
IF(WITH_DRIVER_XAUDIO2)
|
||||
FIND_PACKAGE(Ogg)
|
||||
FIND_PACKAGE(Vorbis)
|
||||
ENDIF(WITH_DRIVER_XAUDIO2)
|
||||
ENDIF(WITH_SOUND)
|
||||
|
||||
IF(WITH_GTK)
|
||||
|
|
|
@ -2,10 +2,9 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
nl_target_lib(nelsnd_lowlevel ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${LIBXML2_LIBRARIES} nelsound)
|
||||
INCLUDE_DIRECTORIES(${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(nelsnd_lowlevel ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY})
|
||||
nl_default_props(nelsnd_lowlevel "Library: NeL Sound Lowlevel")
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
NL_ADD_STATIC_VID_DRIVERS(nelsnd_lowlevel)
|
||||
nl_add_lib_suffix(nelsnd_lowlevel)
|
||||
|
||||
|
|
Loading…
Reference in a new issue