Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shérab <Sebastien.Hinderer@ens-lyon.org>
To: alsa-devel@alsa-project.org
Subject: Re: snd_pcm_hw_params_get_tick_time
Date: Sun, 12 Oct 2014 13:21:57 +0200	[thread overview]
Message-ID: <20141012112157.GA14867@pema> (raw)
In-Reply-To: <543994BB.6000501@ladisch.de>

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

      reply	other threads:[~2014-10-12 11:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Shérab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141012112157.GA14867@pema \
    --to=sebastien.hinderer@ens-lyon.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox