alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Chemsi Mehdi <chmsmehdi@gmail.com>
To: Vinod Koul <vinod.koul@intel.com>, alsa-devel@alsa-project.org
Subject: Is snd_pcm_hw_constraint_mask64 really needed ?
Date: Thu, 9 Mar 2017 17:23:46 +0100	[thread overview]
Message-ID: <CAHkWnPZu3a5WdsXzF8_faxdoYPOuSgcqkAu3tX_EL4VCczqYqw@mail.gmail.com> (raw)

Dear ALSA expert ,


I am working with an alsa codec driver  where the driver is calling
err = snd_pcm_hw_constraint_mask64(substream->runtime,
SNDRV_PCM_HW_PARAM_FORMAT, formats);
my driver is already setting format before that so I wonder why this
function is called?
Looks like it is  needed to add audio constraints to substreams at
open/startup time, but why ?
what can be the issue if I do not call it ?

Please explain to me Takashi.

Thanks a lot in advance.

             reply	other threads:[~2017-03-09 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09 16:23 Chemsi Mehdi [this message]
2017-03-12  1:24 ` Is snd_pcm_hw_constraint_mask64 really needed ? Takashi Sakamoto
2017-03-13  9:06   ` Chemsi Mehdi

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=CAHkWnPZu3a5WdsXzF8_faxdoYPOuSgcqkAu3tX_EL4VCczqYqw@mail.gmail.com \
    --to=chmsmehdi@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=vinod.koul@intel.com \
    /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).