mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
alsa: Constify channel position table
This commit is contained in:
parent
8e6fb92886
commit
69e338d7dd
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ const GstAudioChannelPosition alsa_position[][8] = {
|
|||
#define ITEM(x, y) \
|
||||
[SND_CHMAP_ ## x] = GST_AUDIO_CHANNEL_POSITION_ ## y + 1
|
||||
|
||||
static GstAudioChannelPosition gst_pos[SND_CHMAP_LAST + 1] = {
|
||||
static const GstAudioChannelPosition gst_pos[SND_CHMAP_LAST + 1] = {
|
||||
ITEM (MONO, MONO),
|
||||
ITEM (FL, FRONT_LEFT),
|
||||
ITEM (FR, FRONT_RIGHT),
|
||||
|
|
Loading…
Reference in a new issue