audio/chuck: new port

This commit is contained in:
c0dev0id
2026-07-08 11:14:41 +02:00
parent a834a66cbf
commit a6b68a0b99
31 changed files with 1521 additions and 0 deletions

View 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__