diff options
author | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
commit | f5e0500df4ce3852ffaece6bb916c294ed17f525 (patch) | |
tree | 36caf96a542963996a5ca5876053c228d393251c /Alc/backends/pulseaudio.c | |
parent | 37924887e8ff84082bc948b46a664e03663ff670 (diff) |
Add a macro to help make a 64-bit value
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 059f841a..accfae73 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1390,7 +1390,7 @@ static ALint64 pulse_get_latency(ALCdevice *device) { if(neg) latency = 0; - return (ALint64)minu64(latency, (((ALuint64)0x7fffffff << 32)|0xffffffff)/1000) * 1000; + return (ALint64)minu64(latency, MAKEU64(0x7fffffff,0xffffffff)/1000) * 1000; } ERR("Failed to get stream latency!\n"); return 0; |