Skip to content

Commit

Permalink
win-capture: Always reconfigure audio source when game capture hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
derrod authored and RytoEX committed Mar 10, 2024
1 parent ddeb89f commit 7cacd18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/win-capture/game-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -1939,9 +1939,7 @@ static void game_capture_tick(void *data, float seconds)
signal_handler_signal(sh, "hooked", &data);
calldata_free(&data);

// Update audio capture settings if not in window mode
if (gc->audio_source &&
gc->config.mode != CAPTURE_MODE_WINDOW) {
if (gc->audio_source) {
reconfigure_audio_source(gc->audio_source,
gc->window);
}
Expand Down

0 comments on commit 7cacd18

Please sign in to comment.