From 0288b94ecf380b4750395934040eb985ee8fe2a7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 13 May 2024 10:20:58 +0200 Subject: shit --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index e130472..5f2ede8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1047,15 +1047,15 @@ static void run_recording_saved_script_async(const char *script_file, const char static double audio_codec_get_desired_delay(AudioCodec audio_codec) { switch(audio_codec) { case AudioCodec::OPUS: - return 0.03757; + return 0.01; case AudioCodec::AAC: - return 0.03757 * 1.9375; + return 0.0185 * 2.0; case AudioCodec::FLAC: // TODO: Test - return 0.03757; + return 0.01; } assert(false); - return 0.03757; + return 0.01; } struct AudioDevice { -- cgit v1.2.3