All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
	Simon <horms@verge.net.au>, Tim Cussins <timcussins@eml.cc>,
	Liam Girdwood <lgirdwood@gmail.com>,
	pierre-louis.bossart@linux.intel.com
Subject: Re: [PATCH 0/20] ASoC: rsnd: add Synchronous SRC and U/O error salvage support
Date: Tue, 6 Jan 2015 18:33:19 +0000	[thread overview]
Message-ID: <20150106183319.GS2634@sirena.org.uk> (raw)
In-Reply-To: <874ms6rraj.wl%kuninori.morimoto.gx@renesas.com>


[-- Attachment #1.1: Type: text/plain, Size: 1442 bytes --]

On Mon, Jan 05, 2015 at 12:42:27AM +0000, Kuninori Morimoto wrote:

> 2nd "dynamic" rate convert which is this patch is used as revision.
> I don't know detail of use case, but, according to HW team,
> sound clock has small accidental error.
> Because of this, if we used 48kHz sound in long term,
> but, the real sound can be 48001 Hz or 47999 Hz or something like that.
> So, if we use it without revision in long term, the sound will has
> small noise. This will be problem for TV or radio (?).
> Thus, sound player wants to revise it by "dynamic" rate convert.
> I guess DPCM is good match for "static" rate convert, but not good
> for "dynamic".

In general it should be fine for anything - the driver for the SoC
shouldn't need to understand why the rates are being converted, it
should let the system integration worry about picking the rates.  That
way we can more easily make the frameworks smarter and get benefits over
all machines.

Though having said that I'm a little confused as to what exactly this
control is intended for - am I right in thinking that what's actually
going on here is that something in userspace is measuring the actual
measured rate and feeding that information back to the DSP for
correction?  If that's the case that does seem reasonable but also like
we ought to have a general control interface for it.

Adding Tim and Pierre since they might have views if my guess is
correct, I could be wrong though.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2015-01-06 18:33 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27  8:02 [PATCH 0/20] ASoC: rsnd: add Synchronous SRC and U/O error salvage support Kuninori Morimoto
2014-11-27  8:02 ` [PATCH 01/20] ASoC: rsnd: add .fallback callback Kuninori Morimoto
2014-11-27  8:02 ` [PATCH 02/20] ASoC: rsnd: add callback status check method Kuninori Morimoto
2014-11-27  8:03 ` [PATCH 03/20] ASoC: rsnd: rsnd_src_ssiu_stop() stops SSIU compulsorily Kuninori Morimoto
2014-11-27  8:05 ` [PATCH 04/20] ASoC: rsnd: tidyup PIO/DMA mode settings method Kuninori Morimoto
2014-11-27  8:05 ` [PATCH 05/20] ASoC: rsnd: tidyup SSI interrupt enable/disable method Kuninori Morimoto
2014-11-27  8:05 ` [PATCH 06/20] ASoC: rsnd: care SSIWSR register in rsnd_ssi_hw_start() Kuninori Morimoto
2014-11-27  8:05 ` [PATCH 07/20] ASoC: rsnd: clear status register when HW start Kuninori Morimoto
2014-11-27  8:05 ` [PATCH 08/20] ASoC: rsnd: synchronize SSI start/stop sequence between PIO/DMA mode Kuninori Morimoto
2014-11-27  8:06 ` [PATCH 09/20] ASoC: rsnd: show master clock rate when ADG probe Kuninori Morimoto
2014-11-27  8:06 ` [PATCH 10/20] ASoC: rsnd: move snd_kcontrol_new fucntions to core.c Kuninori Morimoto
2014-11-27  8:06 ` [PATCH 11/20] ASoC: rsnd: tidyup rsnd_io_to_runtime() macro Kuninori Morimoto
2014-11-27  8:06 ` [PATCH 12/20] ASoC: rsnd: use rsnd_src_convert_rate() once on rsnd_src_set_convert_rate_gen2() Kuninori Morimoto
2014-11-27  8:06 ` [PATCH 13/20] ASoC: rsnd: initialize SRC on rsnd_src_init() Kuninori Morimoto
2014-11-27  8:07 ` [PATCH 14/20] ASoC: rsnd: set SRC_ROUTE_MODE0 on each rsnd_src_set_convert_rate() Kuninori Morimoto
2014-11-27  8:07 ` [PATCH 15/20] ASoC: rsnd: share SSI starting method between PIO/DMA mode Kuninori Morimoto
2014-11-27  8:07 ` [PATCH 16/20] ASoC: rsnd: remove un-necessary parameter from rsnd_src_start/stop() Kuninori Morimoto
2014-12-03 18:52   ` Mark Brown
2014-11-27  8:07 ` [PATCH 17/20] ASoC: rsnd: add Synchronous SRC mode Kuninori Morimoto
2014-11-27  8:07 ` [PATCH 18/20] ASoC: rsnd: add salvage support for under/over flow error on SSI Kuninori Morimoto
2014-12-07 13:45   ` Mark Brown
2014-11-27  8:08 ` [PATCH 19/20] ASoC: rsnd: add salvage support for under/over flow error on SRC Kuninori Morimoto
2014-11-27  8:08 ` [PATCH 20/20] ASoC: rsnd: rename SSI function name of PIO Kuninori Morimoto
2014-12-07 13:46   ` Mark Brown
2014-12-24  2:01 ` [PATCH 0/20] ASoC: rsnd: add Synchronous SRC and U/O error salvage support Kuninori Morimoto
2014-12-30 17:10   ` Mark Brown
2015-01-05  0:42     ` Kuninori Morimoto
2015-01-06 18:33       ` Mark Brown [this message]
2015-01-07  4:12         ` Kuninori Morimoto
2015-01-08 17:44           ` Pierre-Louis Bossart
2015-01-10 11:32             ` Mark Brown
2015-01-14  1:11               ` Kuninori Morimoto
2015-01-19 20:49                 ` Mark Brown
2015-01-20  2:10                   ` Kuninori Morimoto
2015-02-24 14:56                     ` Mark Brown
2015-01-08  1:50 ` Kuninori Morimoto
2015-01-08  1:52   ` [PATCH v2] ASoC: rsnd: add recovery support for under/over flow error on SRC Kuninori Morimoto
2015-01-12 13:03     ` Mark Brown
2015-01-13  7:20       ` Kuninori Morimoto
2015-01-15 15:58         ` Mark Brown
2015-01-16  0:08           ` Kuninori Morimoto

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=20150106183319.GS2634@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=horms@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lgirdwood@gmail.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=timcussins@eml.cc \
    /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 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.