提交 dc1e2331 编写于 作者: J jp9000

libobs: Move macro to internal C file

Modifying this value would cause the entire project to recompile when
it's only used in one file in the first place.
上级 4a5ac397
......@@ -18,7 +18,3 @@
#pragma once
#define MAX_AV_PLANES 8
/* time threshold in nanoseconds to ensure audio timing is as seamless as
* possible */
#define TS_SMOOTHING_THRESHOLD 70000000ULL
......@@ -1062,6 +1062,10 @@ static inline size_t conv_time_to_frames(const size_t sample_rate,
/* maximum buffer size */
#define MAX_BUF_SIZE (1000 * AUDIO_OUTPUT_FRAMES * sizeof(float))
/* time threshold in nanoseconds to ensure audio timing is as seamless as
* possible */
#define TS_SMOOTHING_THRESHOLD 70000000ULL
static inline void reset_audio_timing(obs_source_t *source, uint64_t timestamp,
uint64_t os_time)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册