From: Mark Brown <broonie@kernel.org>
To: Koro Chen <koro.chen@mediatek.com>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org,
lgirdwood@gmail.com, srv_heupstream@mediatek.com
Subject: Re: [RFC PATCH (alsa-lib)] pcm: Modify check condition in snd_pcm_sw_params_set_avail_min
Date: Fri, 4 Sep 2015 16:15:29 +0100 [thread overview]
Message-ID: <20150904151529.GM5313@sirena.org.uk> (raw)
In-Reply-To: <1441334975.32609.30.camel@mtksdaap41>
[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]
On Fri, Sep 04, 2015 at 10:49:35AM +0800, Koro Chen wrote:
> On Thu, 2015-09-03 at 10:38 +0100, Mark Brown wrote:
> > This does sound like something that should be handled in the kernel -
> > one thing we should be doing is providing a uniform interface to
> > userspace.
> Hmm, I thought those param settings are used to handle different HW
> behavior like my case, but maybe I am wrong. It is more important to let
> a single driver to be used under many different cases. I will find
> solution in my driver, thank you!
Yes, the params do generally handle things that differ between systems
(mostly things like buffer sizes, formats and so on) but there's a few
things that are pretty much required, one of them being delivering the
period elapsed notifiations when a period has actually elapsed rather
than before then. Setting a very small period size will tend to mask
problems but it's not great.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2015-09-04 15:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 3:20 [RFC PATCH (alsa-lib)] pcm: Modify check condition in snd_pcm_sw_params_set_avail_min Koro Chen
2015-09-03 7:08 ` Takashi Iwai
2015-09-03 7:45 ` Koro Chen
2015-09-03 8:14 ` Clemens Ladisch
[not found] ` <55E8014B.8030800-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
2015-09-04 2:39 ` [alsa-devel] " Koro Chen
2015-09-03 9:38 ` Mark Brown
2015-09-04 2:49 ` Koro Chen
2015-09-04 15:15 ` Mark Brown [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=20150904151529.GM5313@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=koro.chen@mediatek.com \
--cc=lgirdwood@gmail.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=srv_heupstream@mediatek.com \
--cc=tiwai@suse.de \
/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