[vlc-devel] [PATCH 1/4] vlc_tick: from_samples: Use uint64_t for samplerate

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Oct 22 11:29:23 CEST 2020


On Thu, Oct 22, 2020, at 9:55 AM, Thomas Guillem wrote:
> It should be unsigned yes, but why 64 bits? 
> 

Mostly because that's what vlc_tick_from_frac passes to vlc_tick_from_samples but indeed I'm fine with uint32_t otherwise.
However I'm not entirely sure we can switch the vlc_tick_from_frac denominator parameter from uint64 to uint32

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list