From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
To: "Keyon.Jey" <yang.jie@linux.intel.com>
Cc: vinod.koul@intel.com, alsa-devel@alsa-project.org
Subject: Re: [tinycompress]how should I call compress_open for aac ltp file playback?
Date: Wed, 5 Jun 2013 09:01:04 +0100 [thread overview]
Message-ID: <20130605080104.GE31108@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <51AEDEAC.2020705@linux.intel.com>
On Wed, Jun 05, 2013 at 02:46:04PM +0800, Keyon.Jey wrote:
> I am trying to use tinycompress for hwdecoder. everything works fine,
> but after compress_open (with profile = SND_AUDIOPROFILE_AAC level=0
> ch_mode=0 rate_control=0), the playback of my aac-ltp-16bit-48KHz-Stereo
> file is faster than it should be. Am I wrong?
Vinod is probably the person for this one, as I am not so
familiar with what you guys have done internally. However, my
guess would be you are not setting the sample_rate correctly? It
likely needs to be set to the appropriate SNDRV_PCM_RATE_XXXX
define. The source for cplay included in the tinycompress
repository is a good example of using the tinycompress library.
Charles
next prev parent reply other threads:[~2013-06-05 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 6:46 [tinycompress]how should I call compress_open for aac ltp file playback? Keyon.Jey
2013-06-05 8:01 ` Charles Keepax [this message]
2013-06-05 8:27 ` Keyon.Jey
2013-06-07 0:23 ` Vinod Koul
2013-06-07 6:46 ` Keyon.Jey
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=20130605080104.GE31108@opensource.wolfsonmicro.com \
--to=ckeepax@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=vinod.koul@intel.com \
--cc=yang.jie@linux.intel.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.