All of lore.kernel.org
 help / color / mirror / Atom feed
* fsl_ssi: Cannot do simultaneous capture and playback
@ 2013-09-23  2:05 Fabio Estevam
  2013-09-23  2:13 ` Nicolin Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2013-09-23  2:05 UTC (permalink / raw)
  To: Mark Brown, Lars-Peter Clausen, Shawn Guo, Sascha Hauer,
	Nicolin Chen
  Cc: alsa-devel@alsa-project.org

Hi,

I am trying to do simultaneous capture and playback on mx6 wandboard
and I noticed that it only works if I run 'aplay first'.

Here is the sequence that works:

1) aplay file.wav

2) Run 'alsamixer' and select line-in in the capture tab

3) Connect audio via line-in input

4) arecord -f cd -c 2 | aplay -f cd

Then I am able to hear the playback.

However, if I do not do step 1, and try to do the arecord/aplay directly I get:

$ arecord -f cd  | aplay -f cd
imx-sgtl5000 sound.13: set sample size in capture stream first
fsl-ssi-dai 2028000.ssi: ASoC: can't open interface 2028000.ssi: -11
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_
open) unable to open slave
aplay: main:660: audio open error: Device or resource busy
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

I will try to debug this, but if anyone has any suggestions, please let me know.

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-23  3:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23  2:05 fsl_ssi: Cannot do simultaneous capture and playback Fabio Estevam
2013-09-23  2:13 ` Nicolin Chen
2013-09-23  2:56   ` Fabio Estevam
2013-09-23  2:40     ` Nicolin Chen
2013-09-23  3:14       ` Fabio Estevam
2013-09-23  3:19         ` Nicolin Chen

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.