[pulseaudio-discuss] installing header files

Lennart Poettering lennart at poettering.net
Mon Aug 10 12:10:46 PDT 2009


On Mon, 10.08.09 04:08, Patrick Shirkey (pshirkey at boosthardware.com) wrote:

> its a question of making sure that the *internal* API of JACK doesn't
> contain any places where the server and the client(s) share a data
> structure in memory that contains pointers (or various other data
> types). the expected size of these pointers/data types would be
> different in a 32 bit application than in a 64 bit application,
> leading them (or rather the compilers used to build them) to disagree
> about where elements of that data structure are in memory. this would
> in turn lead to odd behaviour, memory corruption etc. etc.
>
> so the JACK implementation was changed to remove any such
> pointers/data types, meaning that 32 bit apps (i.e. linked against a
> 32 bit libjack) and a 64 bit server (linked against a 64 bit libjack
> OF THE SAME VERSION) agree on how the shared memory data structures
> are arranged in memory.

Yes, this is exacty what PA does, too.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list