From: Nicolin Chen <b42378@freescale.com>
To: broonie@kernel.org
Cc: alsa-devel@alsa-project.org
Subject: What about symmetric_channels and symmetric_samplebits?
Date: Mon, 4 Nov 2013 19:02:51 +0800 [thread overview]
Message-ID: <20131104110250.GA2652@MrMyself> (raw)
Hi all,
As far as I know, some SoCs can only work in mono or stereo mode at
one time. So if we let them capture a mono stream while playing a
stereo stream, there might be a problem occur to one of these two
streams: double-paced or slowed down.
I just want to ask: Is there any existing solution for the case?
In soc-pcm.c, we have soc_pcm_apply_symmetry() to solve unmatched
sample rates situation for simultaneous playback and capture. But
we don't have one for channels. Is that reasonable to add a similar
one for it?
Likewise, we can treat symmetric_rate as a solution for those SoCs
or CODECs which can not handle asymmetrical LRCLK. But it's also
impossible for them to handle asymmetrical BCLK. And accodring to
BCLK = LRCLK * channel number * slot size(fixed or sample bits),
sample bits might also be a problem if they are not using a fixed
slot size.
Thank you,
Nicolin Chen
next reply other threads:[~2013-11-04 11:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 11:02 Nicolin Chen [this message]
2013-11-04 16:17 ` What about symmetric_channels and symmetric_samplebits? Mark Brown
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=20131104110250.GA2652@MrMyself \
--to=b42378@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
/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.