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:
28baa53
)
remap: init the do_remap function to NULL
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 16:32:51 +0000
(18:32 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 20 Aug 2009 16:32:51 +0000
(18:32 +0200)
src/pulsecore/remap.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/remap.c
b/src/pulsecore/remap.c
index
108df90
..
a0fc85b
100644
(file)
--- a/
src/pulsecore/remap.c
+++ b/
src/pulsecore/remap.c
@@
-184,11
+184,13
@@
static pa_init_remap_func_t remap_func = init_remap_c;
void pa_init_remap (pa_remap_t *m) {
pa_assert (remap_func);
- /* just call the installed remap init functions */
+ m->do_remap = NULL;
+
+ /* call the installed remap init function */
remap_func (m);
if (m->do_remap == NULL) {
- /* nothing was installed, fallback to C version
s
*/
+ /* nothing was installed, fallback to C version */
init_remap_c (m);
}
}