From: Peter Ujfalusi <peter.ujfalusi@nokia.com>
To: ext Jarkko Nikula <jhnikula@gmail.com>
Cc: "Koskinen Ilkka (Nokia-D/Tampere)" <ilkka.koskinen@nokia.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>,
"tony@atomide.com" <tony@atomide.com>,
"Valentin Eduardo (Nokia-D/Helsinki)"
<eduardo.valentin@nokia.com>,
"Nurkkala Eero.An (EXT-Offcode/Oulu)"
<ext-Eero.Nurkkala@nokia.com>
Subject: Re: [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature
Date: Fri, 19 Feb 2010 10:34:32 +0200 [thread overview]
Message-ID: <201002191034.32391.peter.ujfalusi@nokia.com> (raw)
In-Reply-To: <20100218222229.0f0eb3a9.jhnikula@gmail.com>
On Thursday 18 February 2010 22:22:29 ext Jarkko Nikula wrote:
>
> I still have two concern:
>
> 1. port number vs. index difference inside driver code is not enough
>
> It's just confusing if a machine driver and internal API (mcbsp.c) has
> to use different indexing. See:
>
> omap_mcbsp_st_add_controls(codec, 2);
> ...
> *(unsigned int *)omap3beagle_dai.cpu_dai->private_data = 1; /* McBSP2 */
Agreed.
> and mcbsp->id use in mcbsp.c.
It has always bothered me, I'll take a look and check if there is a reason why
it is like that, and if possible I'll change the mcbsp->id to be 0 based (thus
harmonizing the internal and external interface).
> 2. I cannot change the sidetone level with alsamixer
>
> Is this bug with the alsamixer? With amixer I'm able to set positive
> values but not negative
>
> amixer set -D hw:0 'McBSP2 Sidetone Channel 0' 32767
>
> What I'm looking here, is that I can execute a test below with unit
> impulse response tap filter, hear the sound and note that the volume is
> changing as I'm changing the sidetone volume :-)
I'm not sure, but you might need to configure the taps as well to have the
correct sidetone.
Also I have a recollection, that the McBSP sidetone requires DSP mode (TDM) in
order to operate correctly, so on Beagle you might need to set up 4 channel
mode. And how the channel mapping in 4 channel mode works in McBSP sidetone is
another matter...
>
> arecord -f dat >/dev/null |aplay -f dat /dev/zero
--
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-02-19 8:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-18 18:42 [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature Ilkka Koskinen
2010-02-18 18:42 ` [PATCHv4 1/2] " Ilkka Koskinen
2010-02-18 18:42 ` [PATCHv4 2/2] ASoC: OMAP-McBSP: ASoC interface for McBSP sidetone Ilkka Koskinen
2010-02-19 7:30 ` ext-Eero.Nurkkala
2010-02-19 12:04 ` Ilkka Koskinen
2010-02-19 12:57 ` ext-Eero.Nurkkala
2010-02-19 15:12 ` ilkka.koskinen
2010-02-19 19:03 ` ext-Eero.Nurkkala
2010-02-22 11:11 ` ilkka.koskinen
2010-02-18 20:22 ` [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature Jarkko Nikula
2010-02-19 8:34 ` Peter Ujfalusi [this message]
2010-02-19 13:39 ` Jarkko Nikula
2010-02-19 13:37 ` Eero Nurkkala
2010-02-19 13:54 ` Jarkko Nikula
2010-02-19 10:05 ` Ilkka Koskinen
2010-02-19 13:45 ` Jarkko Nikula
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=201002191034.32391.peter.ujfalusi@nokia.com \
--to=peter.ujfalusi@nokia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=eduardo.valentin@nokia.com \
--cc=ext-Eero.Nurkkala@nokia.com \
--cc=ilkka.koskinen@nokia.com \
--cc=jhnikula@gmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox