[alsa-devel] Error with "Unsigned 8 bit, Rate 8000 Hz, Mono" track

Fabio Estevam festevam at gmail.com
Fri Aug 10 14:52:30 CEST 2012


On 8/10/12, Dong Aisheng <b29396 at freescale.com> wrote:
> On Fri, Aug 10, 2012 at 12:25:13PM +0800, Fabio Estevam wrote:
>> Hi,
>>
>> Running 3.6-rc1 on a mx28evk I get the following error with this wav
>> format:
>>
>> root at freescale /home$ aplay k3b_error1.wav
>> Playing WAVE 'k3b_error1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
>> [  303.640000] asoc: machine hw_params failed: -22
> It failed at here:
> /* Sgtl5000 sysclk should be >= 8MHz and <= 27M */
> if (mclk < 8000000 || mclk > 27000000)
> 	return -EINVAL;
>
> Since sgtl5000 on slave mode, the mclk can only be 256*fs, 384*fs, 512*fs,
> the maximum mclk of 8Khz 4096000(512 * 8000) < 8Mhz, it does not meet
> the minimum clock requirement of mclk.
> It looks like hw limitation on slave mode.

I can play this file on a mx51evk and mx6qsabrelite boards, which also
uses a sgtl5000.

So it looks like a mxs issue, right?

Thanks,

Fabio Estevam


More information about the Alsa-devel mailing list