[vlc-devel] [PATCH 1/2] aout: send the preferred period delay to modules

Steve Lhomme robux4 at ycbcr.xyz
Mon Feb 11 07:57:05 CET 2019


On 08/02/2019 08:09, Thomas Guillem wrote:
> diff --git a/modules/audio_output/kai.c b/modules/audio_output/kai.c
> index 98a2182394..2afcc7f18b 100644
> --- a/modules/audio_output/kai.c
> +++ b/modules/audio_output/kai.c
> @@ -124,7 +124,7 @@ vlc_module_end ()
>   /*****************************************************************************
>    * Open: open the audio device
>    *****************************************************************************/
> -static int Start ( audio_output_t *p_aout, audio_sample_format_t *fmt )
> +static int Start ( audio_output_t *p_aout, audio_sample_format_t *fmt, vlc_tick_t *period_hint )
>   {
>       aout_sys_t *p_sys = p_aout->sys;
>       char *psz_mode;
> @@ -228,6 +228,7 @@ exit_kai_done :
>       kaiDone();
>   
>       return VLC_EGENERIC;
> +    VLC_UNUSED( period );

You used period_hint everywhere else. This will not compile.


More information about the vlc-devel mailing list