diff options
author | BtbN <btbn@btbn.de> | 2021-12-17 23:39:15 +0000 |
---|---|---|
committer | BtbN <btbn@btbn.de> | 2021-12-17 23:39:15 +0000 |
commit | 5b000acb1a3677c71dcccf7ecd6d76c89bb3a7a0 (patch) | |
tree | 56338fcebe2768b6332d1cd256cdd31a3494a91c | |
parent | c95ba1f07f8f4cf219920693488c77b9a60e3348 (diff) | |
download | pulseaudio-5b000acb1a3677c71dcccf7ecd6d76c89bb3a7a0.tar.gz |
channelmap: make channel map tables static
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/674>
-rw-r--r-- | src/pulse/channelmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/channelmap.c b/src/pulse/channelmap.c index 6308ab55e..8976072a4 100644 --- a/src/pulse/channelmap.c +++ b/src/pulse/channelmap.c @@ -36,7 +36,7 @@ #include "channelmap.h" -const char *const table[PA_CHANNEL_POSITION_MAX] = { +static const char *const table[PA_CHANNEL_POSITION_MAX] = { [PA_CHANNEL_POSITION_MONO] = "mono", [PA_CHANNEL_POSITION_FRONT_CENTER] = "front-center", @@ -99,7 +99,7 @@ const char *const table[PA_CHANNEL_POSITION_MAX] = { [PA_CHANNEL_POSITION_TOP_REAR_RIGHT] = "top-rear-right" }; -const char *const pretty_table[PA_CHANNEL_POSITION_MAX] = { +static const char *const pretty_table[PA_CHANNEL_POSITION_MAX] = { [PA_CHANNEL_POSITION_MONO] = N_("Mono"), [PA_CHANNEL_POSITION_FRONT_CENTER] = N_("Front Center"), |