* snd_pcm_hw_params_get_tick_time
@ 2014-10-11 17:48 Shérab
2014-10-11 20:36 ` snd_pcm_hw_params_get_tick_time Clemens Ladisch
0 siblings, 1 reply; 3+ messages in thread
From: Shérab @ 2014-10-11 17:48 UTC (permalink / raw)
To: alsa-devel
Hello,
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.
Any help would be warmly appreciated.
Thanks,
Shérab.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: snd_pcm_hw_params_get_tick_time
2014-10-11 17:48 snd_pcm_hw_params_get_tick_time Shérab
@ 2014-10-11 20:36 ` Clemens Ladisch
2014-10-12 11:21 ` snd_pcm_hw_params_get_tick_time Shérab
0 siblings, 1 reply; 3+ messages in thread
From: Clemens Ladisch @ 2014-10-11 20:36 UTC (permalink / raw)
To: alsa-devel
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: snd_pcm_hw_params_get_tick_time
2014-10-11 20:36 ` snd_pcm_hw_params_get_tick_time Clemens Ladisch
@ 2014-10-12 11:21 ` Shérab
0 siblings, 0 replies; 3+ messages in thread
From: Shérab @ 2014-10-12 11:21 UTC (permalink / raw)
To: alsa-devel
Dear Clemens,
Many thanks for your helpful response!
> 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;
> }
LOL! Good idea to look at the code, sorry I didnd't have it myself!
> What is the engine trying to do with this value?
Looking at the code more closely, it uses the val argument in a printf
before writing something else into it and does not use the dir arguemnt
at all, so I guess the call can be simply removed but I'm double checking
with the other developers of theengine.
Thanks for your help!
Shérab.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-12 11:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-11 17:48 snd_pcm_hw_params_get_tick_time Shérab
2014-10-11 20:36 ` snd_pcm_hw_params_get_tick_time Clemens Ladisch
2014-10-12 11:21 ` snd_pcm_hw_params_get_tick_time Shérab
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.