CoreAudio: Separate enumeration code
The enumeration code being up at the top was making things quite messy, so I split that code out to a separate set of files.
This commit is contained in:
@@ -8,12 +8,18 @@ include_directories(${COREAUDIO}
|
||||
${AUDIOUNIT}
|
||||
${COREFOUNDATION})
|
||||
|
||||
set(mac-capture_HEADERS
|
||||
audio-device-enum.h
|
||||
mac-helpers.h)
|
||||
|
||||
set(mac-capture_SOURCES
|
||||
plugin-main.c
|
||||
audio-device-enum.c
|
||||
mac-audio.c)
|
||||
|
||||
add_library(mac-capture MODULE
|
||||
${mac-capture_SOURCES})
|
||||
${mac-capture_SOURCES}
|
||||
${mac-capture_HEADERS})
|
||||
target_link_libraries(mac-capture
|
||||
libobs
|
||||
${COREAUDIO}
|
||||
|
Reference in New Issue
Block a user