[vlc-commits] audiounit_ios: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK()
Steve Lhomme
git at videolan.org
Fri Jul 6 16:07:37 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 15 08:19:24 2018 +0200| [1f94bfb920ea1200e078ef01e6572e9f750f73f2] | committer: Steve Lhomme
audiounit_ios: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f94bfb920ea1200e078ef01e6572e9f750f73f2
---
modules/audio_output/audiounit_ios.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/audiounit_ios.m b/modules/audio_output/audiounit_ios.m
index 8274fe9180..c9a8b7c7df 100644
--- a/modules/audio_output/audiounit_ios.m
+++ b/modules/audio_output/audiounit_ios.m
@@ -533,7 +533,7 @@ Start(audio_output_t *p_aout, audio_sample_format_t *restrict fmt)
ca_LogWarn("failed to set IO mode");
ret = au_Initialize(p_aout, p_sys->au_unit, fmt, layout,
- [p_sys->avInstance outputLatency] * CLOCK_FREQ, NULL);
+ vlc_tick_from_sec([p_sys->avInstance outputLatency]), NULL);
if (ret != VLC_SUCCESS)
goto error;
More information about the vlc-commits
mailing list