linux-jack: Allow jack support on OSX
Allows usage of jack on OSX (as well as windows later). Closes jp9000/obs-studio#587
This commit is contained in:
parent
ceb723dc9b
commit
1ae46a2940
@ -19,6 +19,7 @@ elseif(APPLE)
|
||||
add_subdirectory(mac-syphon)
|
||||
add_subdirectory(decklink/mac)
|
||||
add_subdirectory(vlc-video)
|
||||
add_subdirectory(linux-jack)
|
||||
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
add_subdirectory(linux-capture)
|
||||
add_subdirectory(linux-pulseaudio)
|
||||
|
@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "jack-wrapper.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <util/threading.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <util/platform.h>
|
||||
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <jack/jack.h>
|
||||
#include <obs.h>
|
||||
#include <pthread.h>
|
||||
#include <util/threading.h>
|
||||
|
||||
struct jack_data {
|
||||
obs_source_t *source;
|
||||
|
Loading…
x
Reference in New Issue
Block a user