13
0

increase superclock_ticks_per_second to provide integer handling for NTSC (following Facebook "flicks")

This commit is contained in:
Paul Davis 2022-10-13 18:05:49 -06:00
parent 2b3312e7d3
commit a7a8783bb4
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#include "temporal/superclock.h" #include "temporal/superclock.h"
#ifndef COMPILER_MSVC #ifndef COMPILER_MSVC
Temporal::superclock_t Temporal::_superclock_ticks_per_second = 56448000; /* 2^10 * 3^2 * 5^3 * 7^2 */ Temporal::superclock_t Temporal::_superclock_ticks_per_second = 282240000 ; /* 2^10 * 3^2 * 5^4 * 7^2 */
#endif #endif
int Temporal::most_recent_engine_sample_rate = 48000; /* have to pick something as a default */ int Temporal::most_recent_engine_sample_rate = 48000; /* have to pick something as a default */

View File

@ -32,7 +32,7 @@ typedef int64_t superclock_t;
#ifndef COMPILER_MSVC #ifndef COMPILER_MSVC
extern superclock_t _superclock_ticks_per_second; extern superclock_t _superclock_ticks_per_second;
#else #else
static superclock_t _superclock_ticks_per_second = 56448000; /* 2^10 * 3^2 * 5^3 * 7^2 */ static superclock_t _superclock_ticks_per_second = 282240000; /* 2^10 * 3^2 * 5^4 * 7^2 */
#endif #endif
extern bool scts_set; extern bool scts_set;