summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/remap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/remap.c')
-rw-r--r--src/pulsecore/remap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulsecore/remap.c b/src/pulsecore/remap.c
index 2e93afce..108df900 100644
--- a/src/pulsecore/remap.c
+++ b/src/pulsecore/remap.c
@@ -186,6 +186,11 @@ void pa_init_remap (pa_remap_t *m) {
/* just call the installed remap init functions */
remap_func (m);
+
+ if (m->do_remap == NULL) {
+ /* nothing was installed, fallback to C versions */
+ init_remap_c (m);
+ }
}
pa_init_remap_func_t pa_get_init_remap_func(void) {