mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
make shm magic marker compat with multiarch systems where 64bit and 32bit processes might share SHM areas
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2252 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c9db6d2543
commit
096e7f0f81
1 changed files with 4 additions and 4 deletions
|
|
@ -73,10 +73,10 @@
|
||||||
struct shm_marker {
|
struct shm_marker {
|
||||||
pa_atomic_t marker; /* 0xbeefcafe */
|
pa_atomic_t marker; /* 0xbeefcafe */
|
||||||
pa_atomic_t pid;
|
pa_atomic_t pid;
|
||||||
void *_reserverd1;
|
uint64_t *_reserverd1;
|
||||||
void *_reserverd2;
|
uint64_t *_reserverd2;
|
||||||
void *_reserverd3;
|
uint64_t *_reserverd3;
|
||||||
void *_reserverd4;
|
uint64_t *_reserverd4;
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *segment_name(char *fn, size_t l, unsigned id) {
|
static char *segment_name(char *fn, size_t l, unsigned id) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue