audio/chuck: new port
This commit is contained in:
24
audio/chuck/patches/patch-src_host_chuck_main_cpp
Normal file
24
audio/chuck/patches/patch-src_host_chuck_main_cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
Index: src/host/chuck_main.cpp
|
||||
--- src/host/chuck_main.cpp.orig
|
||||
+++ src/host/chuck_main.cpp
|
||||
@@ -1213,7 +1213,9 @@ t_CKBOOL go( int argc, const char ** argv )
|
||||
#endif // __DISABLE_MIDI__
|
||||
|
||||
// probe HID devices
|
||||
+ #ifndef __DISABLE_HID__
|
||||
HidInManager::probeHidIn();
|
||||
+ #endif // __DISABLE_HID__
|
||||
|
||||
// restore log level
|
||||
the_chuck->setLogLevel( log_level );
|
||||
@@ -1493,8 +1495,10 @@ t_CKBOOL go( int argc, const char ** argv )
|
||||
|
||||
//------------------------- HID RELATED SETUP -----------------------------
|
||||
#ifndef __ALTER_HID__
|
||||
+ #ifndef __DISABLE_HID__
|
||||
// pre-load hid
|
||||
if( load_hid ) HidInManager::init();
|
||||
+ #endif // __DISABLE_HID__
|
||||
#endif // __ALTER_HID__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user