]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/remap.h
remap: Make resampler's remap structure more self-contained
[pulseaudio] / src / pulsecore / remap.h
index 32a67cddf2dc2f8c2a00b1f5856acc820e2211c7..fcfe682e3ddb3f465cc90e874033c56a4dcadafb 100644 (file)
@@ -30,14 +30,14 @@ typedef struct pa_remap pa_remap_t;
 typedef void (*pa_do_remap_func_t) (pa_remap_t *m, void *d, const void *s, unsigned n);
 
 struct pa_remap {
-    pa_sample_format_t *format;
-    pa_sample_spec *i_ss, *o_ss;
+    pa_sample_format_t format;
+    pa_sample_spec i_ss, o_ss;
     float map_table_f[PA_CHANNELS_MAX][PA_CHANNELS_MAX];
     int32_t map_table_i[PA_CHANNELS_MAX][PA_CHANNELS_MAX];
     pa_do_remap_func_t do_remap;
 };
 
-void pa_init_remap (pa_remap_t *m);
+void pa_init_remap_func(pa_remap_t *m);
 
 /* custom installation of init functions */
 typedef void (*pa_init_remap_func_t) (pa_remap_t *m);