projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d5f28
)
channelmap: make sure a mask is generated is 64 bit int
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jun 2009 01:06:54 +0000
(
03:06
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jun 2009 01:06:54 +0000
(
03:06
+0200)
src/pulse/channelmap.h
patch
|
blob
|
history
diff --git
a/src/pulse/channelmap.h
b/src/pulse/channelmap.h
index
d047426
..
d7901ac
100644
(file)
--- a/
src/pulse/channelmap.h
+++ b/
src/pulse/channelmap.h
@@
-209,7
+209,7
@@
typedef enum pa_channel_position {
typedef uint64_t pa_channel_position_mask_t;
/** Makes a bit mask from a channel position. \since 0.9.16 */
-#define PA_CHANNEL_POSITION_MASK(f) ((pa_channel_position_mask_t) (1 << (f)))
+#define PA_CHANNEL_POSITION_MASK(f) ((pa_channel_position_mask_t) (1
ULL
<< (f)))
/** A list of channel mapping definitions for pa_channel_map_init_auto() */
typedef enum pa_channel_map_def {