mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
channelmap: make sure a mask is generated is 64 bit int
This commit is contained in:
parent
26d5f28f8a
commit
4f36cc76f2
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ typedef enum pa_channel_position {
|
||||||
typedef uint64_t pa_channel_position_mask_t;
|
typedef uint64_t pa_channel_position_mask_t;
|
||||||
|
|
||||||
/** Makes a bit mask from a channel position. \since 0.9.16 */
|
/** 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) (1ULL << (f)))
|
||||||
|
|
||||||
/** A list of channel mapping definitions for pa_channel_map_init_auto() */
|
/** A list of channel mapping definitions for pa_channel_map_init_auto() */
|
||||||
typedef enum pa_channel_map_def {
|
typedef enum pa_channel_map_def {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue