I'm having this issue for years, especially after 2018 Macbooks.
My current setup:
2021 Macbook Pro 14" M1 Pro 16GB RAM
Traktor Kontrol S2 MK3 connected with USB to USB-C from CableMatters ( also tried with various cables and USB-C hubs )
Here are logs at exact moment that audio dropped
error 11:16:15.609358+0300 coreaudiod HALS_IOA1Engine::EndWriting: got an error from the kernel trap, Error: 0xE00002D7
default 11:16:15.625699+0300 coreaudiod HALC_IOContext_PauseIO(236077)
default 11:16:15.626461+0300 coreaudiod HALC_IOContext_PauseIO(236784)
default 11:16:15.626589+0300 coreaudiod HALC_ProxyIOContext::PauseIO: -> 0 0 id:236784 called from <private>
default 11:16:15.626605+0300 coreaudiod HALC_ProxyIOContext::PauseIO: <- 0 1 id:236784
default 11:16:15.626542+0300 coreaudiod HALC_ProxyIOContext::PauseIO: -> 0 0 id:236077 called from <private>
default 11:16:15.626715+0300 coreaudiod HALC_ProxyIOContext::PauseIO: <- 0 1 id:236077
default 11:16:15.635833+0300 coreaudiod CAReportingClient.mm:504 Stopping { careporter_id=2731599218817 }
default 11:16:15.658449+0300 coreaudiod CAReportingClient.mm:537 Sending message { message="{
"session_duration" = "79.47630107402802";
}", reporters="(
2731599218817
)" }
default 11:16:15.658963+0300 coreaudiod IO Stopped Context 236814 after 1024 frames.
default 11:16:15.659142+0300 coreaudiod HALS_IOContext_Legacy_Impl::IOWorkLoopDeinit: 236814 AppleUSBAudioEngine:Native Instruments:Traktor Kontrol S2 MK3:E27CE236:1,2 (AppleUSBAudioEngine:Native Instruments:Traktor Kontrol S2 MK3:E27CE236:1,2): stopping with error 0
default 11:16:15.659240+0300 coreaudiod HALB_PowerAssertion::Release: releasing power assertion ID 39291 of type 'PreventUserIdleSystemSleep' with name: 'com.apple.audio.AppleUSBAudioEngine:Native Instruments:Traktor Kontrol S2 MK3:E27CE236:1,2.context.preventuseridlesleep' on behalf of 62302 taken at <private> for 79.480554 seconds
default 11:16:15.649364+0300 coreaudiod index: 0, start: 0x5c7f612a51a5, duration: 0x115, fault address: 0x127c28000, fault pc: 0x1aff076ac, faulting TID: 0xf6fee0, fault type: 0x9, PID: 0x27c
default 11:16:15.677856+0300 coreaudiod index: 1, start: 0x5c7f612a52ed, duration: 0xbd, fault address: 0x127c9c000, fault pc: 0x1adcf7fcc, faulting TID: 0xf6fee0, fault type: 0x9, PID: 0x27c
default 11:16:15.678823+0300 coreaudiod index: 2, start: 0x5c7f612a53c3, duration: 0x32, fault address: 0x127c9c000, fault pc: 0x1ade11ed8, faulting TID: 0xf6fee0, fault type: 0x4, PID: 0x27c
default 11:16:15.700464+0300 coreaudiod index: 3, start: 0x5c7f612a544c, duration: 0xc6, fault address: 0x131268000, fault pc: 0x1adcc4078, faulting TID: 0xf6fee0, fault type: 0x9, PID: 0x27c
default 11:16:15.700486+0300 coreaudiod index: 4, start: 0x5c7f612a5a59, duration: 0x69, fault address: 0x126d20000, fault pc: 0x1adcfcf90, faulting TID: 0xf6fee0, fault type: 0x9, PID: 0x27c
default 11:16:15.712676+0300 coreaudiod HALS_IOA1Device::_HandleMajorEngineChange: but nothing changed
default 11:16:15.712917+0300 coreaudiod [Detector.cpp:92 rtaid::Detector:0x126fb53e0] Node usb -Output with nodeID 0 already present, replacing it
default 11:16:15.713002+0300 coreaudiod CAReportingClient.mm:537 Sending message { message="{
"issue_detected_sample_time" = "3811944.000000";
node = "usb -Output";
peak = "-3.304815";
"report_type" = RMS;
rms = "-16.722528";
"rtaid_client" = HAL;
}", reporters="(null)" }
default 11:16:15.713114+0300 coreaudiod IssueReporting.cpp:481 RTAID [ use_case=Generic report_type=RMS Generic Chain clientID=HAL node=usb -Output issue_detected_sample_time=3811944.000000 ] -- [ -16.722528, -3.304815 ]
default 11:16:15.713249+0300 coreaudiod [Detector.cpp:126 rtaid::Detector:0x126fb53e0] Created node usb -Output with nodeID 0 - reporting period = 10.000000, sample rate = 48000.000000
default 11:16:15.713383+0300 coreaudiod [Detector.cpp:92 rtaid::Detector:0x126fb53e0] Node usb -Input with nodeID 1 already present, replacing it
default 11:16:15.713510+0300 coreaudiod [Detector.cpp:126 rtaid::Detector:0x126fb53e0] Created node usb -Input with nodeID 1 - reporting period = 10.000000, sample rate = 48000.000000
default 11:16:15.714014+0300 coreaudiod [NodeFormatConverter.cpp:61 rtaid::NodeFormatConverter:0x127888160] AudioConverterNew succeeded with incoming format 2 ch, 48000 Hz, Float32, interleaved and outgoing format 2 ch, 48000 Hz, Float32, deinterleaved
default 11:16:15.714488+0300 coreaudiod [NodeFormatConverter.cpp:61 rtaid::NodeFormatConverter:0x1274d6480] AudioConverterNew succeeded with incoming format 4 ch, 48000 Hz, Float32, interleaved and outgoing format 4 ch, 48000 Hz, Float32, deinterleaved
default 11:16:15.714612+0300 coreaudiod [Detector.cpp:54 rtaid::Detector:0x126fb53e0] initialized with error = 0
default 11:16:15.715305+0300 coreaudiod Audio IO Overload thread: f6fee0 inputs: '<private>' outputs: '<private>' cause: 'Unknown' prewarming: no recovering: no
.
.
.