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:
b56f344
)
use pa_channel_map_compatible() where applicable
author
Lennart Poettering
<lennart@poettering.net>
Thu, 4 Sep 2008 23:31:17 +0000
(
01:31
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 4 Sep 2008 23:31:17 +0000
(
01:31
+0200)
src/utils/pacat.c
patch
|
blob
|
history
diff --git
a/src/utils/pacat.c
b/src/utils/pacat.c
index
f42abc8
..
76aea36
100644
(file)
--- a/
src/utils/pacat.c
+++ b/
src/utils/pacat.c
@@
-695,7
+695,7
@@
int main(int argc, char *argv[]) {
goto quit;
}
- if (channel_map_set &&
channel_map.channels != sample_spec.channels
) {
+ if (channel_map_set &&
pa_channel_map_compatible(&channel_map, &sample_spec)
) {
fprintf(stderr, _("Channel map doesn't match sample specification\n"));
goto quit;
}