projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a39c2e
)
add array size to increase chance of detecting missing updates
author
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Nov 2007 23:41:17 +0000
(23:41 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Nov 2007 23:41:17 +0000
(23:41 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2054
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulse/channelmap.c
patch
|
blob
|
history
diff --git
a/src/pulse/channelmap.c
b/src/pulse/channelmap.c
index
2b8ef2b
..
2b35ee7
100644
(file)
--- a/
src/pulse/channelmap.c
+++ b/
src/pulse/channelmap.c
@@
-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;
}
-