[alsa-devel] snd_pcm_hw_params_get_tick_time

Clemens Ladisch clemens at ladisch.de
Sat Oct 11 22:36:11 CEST 2014


Shérab wrote:
> I'm maintaing a TTS engine for french that use
> snd_pcm_hw_params_get_tick_time. Compiling the code produces a
> deprecation warning for this function. I tried to figure out how the
> code should be modified to not use this function but can't find a way.

Allow me to present the current implementation:

int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
{
        *val = 0;
        return 0;
}

What is the engine trying to do with this value?


Regards,
Clemens


More information about the Alsa-devel mailing list