diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-05-13 10:20:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-05-13 10:20:58 +0200 |
commit | 0288b94ecf380b4750395934040eb985ee8fe2a7 (patch) | |
tree | 969c82b377bbc75c058a6064f2ddd480e8de1d4b | |
parent | e965da23c84b88629991a2557c548aac99bcabcb (diff) |
shit
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |