alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Jie Jiang <jjinfo@nudt.edu.cn>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Questions about alsa driver for i.Mx27 + wm8974: playback time shorter than the original record time
Date: Wed, 01 Sep 2010 00:21:40 +0800	[thread overview]
Message-ID: <1283271700.10728.8.camel@UT43> (raw)
In-Reply-To: <20100826124137.GA3509@opensource.wolfsonmicro.com>

Hi Mark,

Thanks for your advice!

On Thu, 2010-08-26 at 13:41 +0100, Mark Brown wrote:
> On Thu, Aug 26, 2010 at 08:05:38PM +0800, Jie Jiang wrote:
> 
> > The configuration of mx27 ssi1 transmission channel is as follows(using
> > ssi api from kernel 2.6.19.2):
> 
> This is an extremely old kernel version, the current kernel version is
> 2.6.35 with 2.6.36 in development.  Current mainline kernels have a
> different API for configuring the IOMUX.  I'd strongly recommend working
> with a more current kernel if you're looking for community support.
> 
> > Here I'm not very sure about the setting of frame rate and frame sync
> > length.  Is the above setting right?  But even I set frame rate to 1, it
> > does not make any difference. 
> 
> > What's the possible reason causing the incorrect faster playback speed?
> > Any suggestion is appreciated.
> 
> Normally this will be the result of either an incorrect frame rate or
> the hardware trying to play back mono data as stereo (which will cause
> data to be consumed as twice the expected rate).

Yes, it seems to be this reason that causes problem.
When I playback a stereo wav file(8kHz,16bit, stereo), everything goes
well.But when trying to playback a mono wav (8kHz,16bit, mono)file,
problem stills exist.

What's the possible reason for incorrect handling of mono file?
How to solve it so I can playback mono file correctly?

Regards,
Jie

  parent reply	other threads:[~2010-08-31 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26 12:05 Questions about alsa driver for i.Mx27 + wm8974: playback time shorter than the original record time Jie Jiang
2010-08-26 12:41 ` Mark Brown
2010-08-26 14:13   ` Randolph Chung
2010-08-31 16:21   ` Jie Jiang [this message]
2010-08-31 16:21     ` Randolph Chung
2010-08-31 16:57       ` Jie Jiang

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=1283271700.10728.8.camel@UT43 \
    --to=jjinfo@nudt.edu.cn \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.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;
as well as URLs for NNTP newsgroup(s).