alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Chung <achung@stlglobal.com>
To: alsa-devel@alsa-project.org
Subject: Mono <-> Stereo
Date: Wed, 01 Sep 2010 22:02:18 +0800	[thread overview]
Message-ID: <4C7E5CEA.2080308@stlglobal.com> (raw)

  Hi,

I'm completely new to ALSA development. I recently inherited a project 
built on a Freescale i.MX 27 platform, using Linux 2.6.33

The MX27 is connected via I2S to a GSM module, and also a TLV32AIC3007 
codec for local playback. There seems to be some format mismatch causing 
the audio to become garbled.

I called in through the GSM and used "arecord -D plughw:0,1 -f dat 
test.wav" to record some audio. I then played back with "aplay -D 
<device> test.wav"

1. If I play it through the GSM, I can hear what I recorded, but it 
appears to be playing twice as fast

2. If I play it through the codec, I just get garbled junk

I'm told that this may be because the GSM module supports mono only, 
whereas the IMX SSI driver supports only stereo out of the box.

Does anyone have any experience with such a setup, and can provide some 
pointers on where to look at to resolve this issue?

Thanks
Andrew

                 reply	other threads:[~2010-09-01 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4C7E5CEA.2080308@stlglobal.com \
    --to=achung@stlglobal.com \
    --cc=alsa-devel@alsa-project.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).