diff options
Diffstat (limited to 'src')
-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 { |