[alsa-devel] snd_pcm_pause kills plaback handle on OMAP4

Péter Ujfalusi peter.ujfalusi at ti.com
Fri Sep 16 10:37:30 CEST 2011


On Wednesday 14 September 2011 11:13:22 john at johnandjuliet.com wrote:
> I'm trying to control the McBSP2 that is used for the modem in an
> android environment (BLAZE OMAP4)

What kernel are you using?
> What I am trying to do is control the audio paths for capture and
> playback seperatly like in a SIMPLEX (half duplex) instead of full
> DUPLEX mode audio ..

So either playback, or capture, but never both at the same time?

> I also want to stop the audio without total
> shutdown of the audio system.
> From what I can see that would be to call snd_pcm_pause(handle,bool)
> But here is what happens.  With the handle forthe plaback path
> everything works OK... But if I call that then the capture path stops
> working... even if I try to turn on (unpause) both paths.

So you have both playback and capture opened, if you pause the playback, and 
release it, then the capture path stops working?
Or you mean that doing the pause/release with playback, then closing it, after 
that the capture is not working?

> This implies some sort of bug in the omap soc driver?

Everything is possible. I have not heard such about such a problem myself.
If this issue exist on OMAP4, it should be present on OMAP3 as well...

Could you be more specific on the scenario?
What codec you have attached to McBSP2 port?
Are you using ABE, or are you using the McBSP2 port directly?

CC-ing Jarkko to catch his attention...


More information about the Alsa-devel mailing list