[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] channelmap: make channel map tables static
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Sat Dec 18 11:50:34 UTC 2021
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
5b000acb by BtbN at 2021-12-17T23:39:15+00:00
channelmap: make channel map tables static
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/674>
- - - - -
1 changed file:
- src/pulse/channelmap.c
Changes:
=====================================
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"),
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/5b000acb1a3677c71dcccf7ecd6d76c89bb3a7a0
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/5b000acb1a3677c71dcccf7ecd6d76c89bb3a7a0
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20211218/e4fd1092/attachment.htm>
More information about the pulseaudio-commits
mailing list