Question about hw_param with Ctrl-Z + fg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux