All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Keyon.Jey" <yang.jie@linux.intel.com>
To: ckeepax@opensource.wolfsonmicro.com
Cc: vinod.koul@intel.com, alsa-devel@alsa-project.org
Subject: [tinycompress]how should I call compress_open for aac ltp file playback?
Date: Wed, 05 Jun 2013 14:46:04 +0800	[thread overview]
Message-ID: <51AEDEAC.2020705@linux.intel.com> (raw)


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?

struct snd_codec {
  __u32 id;
  __u32 ch_in;
  __u32 ch_out;
  __u32 sample_rate;
  __u32 bit_rate;
  __u32 rate_control;
  __u32 profile;
  __u32 level;
  __u32 ch_mode;
  __u32 format;
  __u32 align;
  union snd_codec_options options;
  __u32 reserved[3];
};

Keyon

             reply	other threads:[~2013-06-05  6:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05  6:46 Keyon.Jey [this message]
2013-06-05  8:01 ` [tinycompress]how should I call compress_open for aac ltp file playback? Charles Keepax
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=51AEDEAC.2020705@linux.intel.com \
    --to=yang.jie@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=vinod.koul@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.