mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-01 01:40:26 -05:00
remap: Add (optional) state to remap struct
State can be used by remap function implementations to speed up the remapping, e.g. by precomputing things or even by generating specialized code for a specific channel remapping task Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
877ad8dcf8
commit
e92e8b11f1
2 changed files with 10 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ struct pa_remap {
|
|||
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 *state; /* optional state information for the remap function */
|
||||
};
|
||||
|
||||
void pa_init_remap_func(pa_remap_t *m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue