mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
acp: improve debug of channel map
Increase the size of the channel_map debug printf buffer. Use a safer version of the snprintf that avoids buffer overruns. See #1781
This commit is contained in:
parent
efd8ac25e3
commit
86ca0f8466
3 changed files with 41 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ extern "C" {
|
|||
|
||||
#define PA_CHANNELS_MAX 64
|
||||
|
||||
#define PA_CHANNEL_MAP_SNPRINT_MAX 336
|
||||
#define PA_CHANNEL_MAP_SNPRINT_MAX (PA_CHANNELS_MAX * 32)
|
||||
|
||||
typedef enum pa_channel_map_def {
|
||||
PA_CHANNEL_MAP_AIFF,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue