diff --git a/record-daemon/src/recording/obs_context.rs b/record-daemon/src/recording/obs_context.rs index f51437a..11729d3 100644 --- a/record-daemon/src/recording/obs_context.rs +++ b/record-daemon/src/recording/obs_context.rs @@ -584,8 +584,14 @@ impl ObsContext { info!("[GAME_CAPTURE] Using 'Any' mode to capture fullscreen games..."); // Wrap source build in catch_unwind + // Enable capture_audio so the game capture source automatically creates + // an "Application Audio Capture" (WASAPI) source for the captured game. let source_result = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| { - builder.set_capture_mode(ObsGameCaptureMode::Any).build() + builder + .set_capture_mode(ObsGameCaptureMode::Any) + .set_capture_audio(true) + .expect("[GAME_CAPTURE] Audio capture not available on this system") + .build() })); let source = match source_result {