[alsa-devel] Why is SND_PCM_FORMAT_S32_LE not able to be set and passed to Linux Kernel Asoc?

Philip Chu Philip.Chu at logicpd.com
Tue Dec 28 17:22:57 CET 2010


I also added S32_LE support for twl4030 codec. But the thing is, the user land ALSA API is still asking for S16_LE (observed from the pcm_native.c from kernel) even when I am using SND_PCM_FORMAT_S32_LE in my application code as shown in my 1st post.

Philip

-----Original Message-----
From: Peter Ujfalusi [mailto:peter.ujfalusi at nokia.com] 
Sent: Tuesday, December 28, 2010 9:03 AM
To: Philip Chu
Cc: Jassi Brar; alsa-devel at alsa-project.org
Subject: Re: [alsa-devel] Why is SND_PCM_FORMAT_S32_LE not able to be set and passed to Linux Kernel Asoc?

On 12/28/2010 09:35 AM, ext Philip Chu wrote:
> Thanks for your reply.
> 
> Yes I am using plughw - "plughw:0,0" and OMAP3530 Torpedo board. And I am attaching my own sound card driver on McBSP 3.

The OMAP McBSP DAI has support for S32_LE format.
I have added S32_LE/24 support for the twl4030 codec, and it
is working fine.
I think your codec driver does not support the S32_LE format.

-- 
Péter


More information about the Alsa-devel mailing list