Skip to content

Commit

Permalink
Split the OpenAL sound code into common and OpenAL-specific parts to …
Browse files Browse the repository at this point in the history
…make it easier to add support for other audio APIs.
  • Loading branch information
isojalka committed Mar 19, 2024
1 parent ffd4077 commit 9df18fd
Show file tree
Hide file tree
Showing 4 changed files with 1,230 additions and 1,087 deletions.
2 changes: 1 addition & 1 deletion common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ if(DSOUND)
list(APPEND COMMONV_SRC soundio.cpp vqaaudio_dsound.cpp)
list(APPEND VANILLA_LIBS dsound)
elseif(OPENAL)
list(APPEND COMMONV_SRC soundio_openal.cpp vqaaudio_openal.cpp)
list(APPEND COMMONV_SRC soundio_common.cpp soundio_openal.cpp vqaaudio_openal.cpp)
else()
list(APPEND COMMONV_SRC soundio_null.cpp vqaaudio_null.cpp)
endif()
Expand Down
Loading

0 comments on commit 9df18fd

Please sign in to comment.