From: "Péter Ujfalusi" <peter.ujfalusi@ti.com>
To: alsa-devel@alsa-project.org
Cc: john@johnandjuliet.com
Subject: Re: snd_pcm_pause kills plaback handle on OMAP4
Date: Fri, 16 Sep 2011 11:37:30 +0300 [thread overview]
Message-ID: <1566700.iCnvMszhAn@barack> (raw)
In-Reply-To: <20110914111322.98fd97237cc930a62b888eb89e535f85.3e53ce80b3.wbe@email12.secureserver.net>
Hi,
On Wednesday 14 September 2011 11:13:22 john@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...
--
Péter
next prev parent reply other threads:[~2011-09-16 8:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 18:13 snd_pcm_pause kills plaback handle on OMAP4 john
2011-09-16 8:37 ` Péter Ujfalusi [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-16 13:31 john
2011-09-27 6:37 ` Péter Ujfalusi
2011-09-28 18:37 john
2011-09-28 19:46 john
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=1566700.iCnvMszhAn@barack \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=john@johnandjuliet.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.