alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: snd_pcm_multi_rewind
Date: Tue, 24 Aug 2010 09:35:53 +0200	[thread overview]
Message-ID: <4C737659.8020902@ladisch.de> (raw)
In-Reply-To: <AANLkTinY8Q1d2Bo4HSVQYKAeRy0K_xPHU9Y-bT=m1t9i@mail.gmail.com>

Raymond Yau wrote:
>     snd_pcm_uframes_t pos[multi->slaves_count];

> why the pos array can be assigned dimension by multi->slaves_count ?

Because the C standard says so.

> does sizeof(pos) return the correct size ?

Yes.

> why input parameter "frames" can be modified ?
> 
>         frames = f;

Because the C standard says so.


Regards,
Clemens

      reply	other threads:[~2010-08-24  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24  3:56 snd_pcm_multi_rewind Raymond Yau
2010-08-24  7:35 ` Clemens Ladisch [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=4C737659.8020902@ladisch.de \
    --to=clemens@ladisch.de \
    --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;
as well as URLs for NNTP newsgroup(s).