All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Linux-ALSA <alsa-devel@alsa-project.org>,
	hiroyuki.yokoyama.vx@renesas.com
Cc: Fukawa <tomoharu.fukawa.eb@renesas.com>,
	shiiba <naoya.shiiba.nx@renesas.com>,
	mitsuhiro.kimura.kc@renesas.com,
	sakato <ryusuke.sakato.bx@renesas.com>,
	hideya.tanaka.nx@renesas.com, tomohiro.komagata.aj@renesas.com,
	hiroki.negishi.bx@renesas.com, yuta.wakasawa.pv@renesas.com,
	ryo.kodama.vz@renesas.com, hien.dang.eb@renesas.com,
	Kihara <takeshi.kihara.df@renesas.com>,
	ryo.kataoka.wt@renesas.com,
	honda <takamitsu.honda.pv@renesas.com>,
	Chris.Paterson2@renesas.com, kouei.abe.cp@renesas.com,
	ren.imaoka.vj@renesas.com, goda <yusuke.goda.sx@renesas.com>,
	takashi.minami.xb@bp.renesas.com, takahiko.gomi.yn@renesas.com,
	khiem.nguyen.xt@renesas.com, atsushi.tamaki.ks@renesas.com,
	harunobu.kurokawa.dn@renesas.com
Subject: Question about hw_param with Ctrl-Z + fg
Date: Tue, 4 Apr 2017 00:54:30 +0000	[thread overview]
Message-ID: <87d1ctuhba.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <redmine.journal-967542.20170403100335.fbd6fae50d6ed2e5@dm.renesas.com>


Hi ALSA SoC ML

We noticed that 2nd hw_param on ALSA SoC isn't called if we used
Ctrl-Z + fg on aplay. hw_param is necessary especially if we use sampling
rate converter (it depends on .be_hw_params_fixup).
Ctrl-Z will use notmal STOP, and fg will use normal START,
thus it is impossible to distinction Ctrl-C (stop) or Ctrl-Z (temporary suspension).
Is this aplay issue ? or kernel issue ?

start/stop case
	- aplay xxx.wav
=>	- hw_param
	- SNDRV_PCM_TRIGGER_START
	- Ctrl-C (stop)	
	- SNDRV_PCM_TRIGGER_STOP

Ctrl-Z case
	- aplay xxx.wav
=>	- hw_param
	- SNDRV_PCM_TRIGGER_START
	- Ctrl-Z
	- SNDRV_PCM_TRIGGER_STOP
	- fg
=>	- ## no hw_param here
	- SNDRV_PCM_TRIGGER_START
	- Ctrl-C (stop)
	- SNDRV_PCM_TRIGGER_STOP

Best regards
---
Kuninori Morimoto

       reply	other threads:[~2017-04-04  0:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-119657.20170403030456@dm.renesas.com>
     [not found] ` <redmine.journal-967542.20170403100335.fbd6fae50d6ed2e5@dm.renesas.com>
2017-04-04  0:54   ` Kuninori Morimoto [this message]
2017-04-04  4:10     ` Question about hw_param with Ctrl-Z + fg Takashi Sakamoto
2017-04-04  5:57       ` Kuninori Morimoto
2017-04-04  6:14         ` Takashi Sakamoto
2017-04-04  8:02           ` Kuninori Morimoto
2017-04-05  4:50             ` 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=87d1ctuhba.wl%kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=atsushi.tamaki.ks@renesas.com \
    --cc=harunobu.kurokawa.dn@renesas.com \
    --cc=hideya.tanaka.nx@renesas.com \
    --cc=hien.dang.eb@renesas.com \
    --cc=hiroki.negishi.bx@renesas.com \
    --cc=hiroyuki.yokoyama.vx@renesas.com \
    --cc=khiem.nguyen.xt@renesas.com \
    --cc=kouei.abe.cp@renesas.com \
    --cc=mitsuhiro.kimura.kc@renesas.com \
    --cc=naoya.shiiba.nx@renesas.com \
    --cc=ren.imaoka.vj@renesas.com \
    --cc=ryo.kataoka.wt@renesas.com \
    --cc=ryo.kodama.vz@renesas.com \
    --cc=ryusuke.sakato.bx@renesas.com \
    --cc=takahiko.gomi.yn@renesas.com \
    --cc=takamitsu.honda.pv@renesas.com \
    --cc=takashi.minami.xb@bp.renesas.com \
    --cc=takeshi.kihara.df@renesas.com \
    --cc=tomoharu.fukawa.eb@renesas.com \
    --cc=tomohiro.komagata.aj@renesas.com \
    --cc=yusuke.goda.sx@renesas.com \
    --cc=yuta.wakasawa.pv@renesas.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 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.