aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-05-13 10:20:58 +0200
committerdec05eba <dec05eba@protonmail.com>2024-05-13 10:20:58 +0200
commit0288b94ecf380b4750395934040eb985ee8fe2a7 (patch)
tree969c82b377bbc75c058a6064f2ddd480e8de1d4b
parente965da23c84b88629991a2557c548aac99bcabcb (diff)
shit
-rw-r--r--src/main.cpp8
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 {