[pulseaudio-discuss] pa_mix 32Bit write for S16NE format

kuldeep ghan ghankp at gmail.com
Thu Aug 18 06:24:23 PDT 2011


Hi David,

Thanks for the reply. I am not much sure about how compiler can handle
this.  The problem is only for memory mapped for audio driver. In general I
am able to access 16Bit for virual memory. I have confirmed that physical
memory mapped to Audio Driver is 32 bit aligned.

Any info on configuring S32_LE for pulseaudio wil be helpful. Currently I
hear noisy audio for S32_LE configuration.

Regards,
Kuldeep

On Wed, Aug 17, 2011 at 7:15 PM, David Henningsson <
david.henningsson at canonical.com> wrote:

> On 08/17/2011 12:28 PM, kuldeep ghan wrote:
>
>> I get same bus error when trying to play two streams using paplay also.
>> I have verified that Its due to 16 Bit write to 32 bit aligned Memory.
>> My main concern is,
>> what am I doing wrong in writing two 16Bit samples to simulate 32Bit
>> write.
>>
>
> I think this is something that belongs to the compiler domain rather than
> incorporated into program code. I e, shouldn't the compiler automatically do
> this when compiling for the OMAP4 target? We can rarely be the one and only
> program running into this error, right? Better fix it once in the compiler,
> than working around it in each and every program?
>
> --
> David Henningsson, Canonical Ltd.
> http://launchpad.net/~diwic
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110818/dd317395/attachment.html>


More information about the pulseaudio-discuss mailing list