[alsa-devel] [tinycompress]how should I call compress_open for aac ltp file playback?
ckeepax at opensource.wolfsonmicro.com
Wed Jun 5 10:01:04 CEST 2013
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.
More information about the Alsa-devel