# Sound: the AdLib driver reimplemented, the PC speaker, the OPL2 chip (Nuked OPL3) they play
# on, and the mixer that sets their levels and plays the menu's sounds over them.
# Standard library only.
add_library(dgen_audio STATIC adlib_driver.cpp effects.cpp mixer.cpp speaker.cpp synth.cpp wav.cpp)
target_include_directories(dgen_audio PUBLIC ${PROJECT_SOURCE_DIR}/src)
target_link_libraries(dgen_audio PRIVATE nuked_opl3)
dgen_set_warnings(dgen_audio)
