mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add array size to increase chance of detecting missing updates
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2054 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4a39c2e462
commit
4c4761731d
1 changed files with 2 additions and 3 deletions
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "channelmap.h"
|
||||
|
||||
const char *const table[] = {
|
||||
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_TOP_REAR_RIGHT] = "top-rear-right"
|
||||
};
|
||||
|
||||
const char *const pretty_table[] = {
|
||||
const char *const pretty_table[PA_CHANNEL_POSITION_MAX] = {
|
||||
[PA_CHANNEL_POSITION_MONO] = "Mono",
|
||||
|
||||
[PA_CHANNEL_POSITION_FRONT_CENTER] = "Front Center",
|
||||
|
|
@ -531,4 +531,3 @@ int pa_channel_map_valid(const pa_channel_map *map) {
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue