mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
channelmap: make channel map tables static
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/674>
This commit is contained in:
parent
c95ba1f07f
commit
5b000acb1a
1 changed files with 2 additions and 2 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue