]> git.tuebingen.mpg.de Git - paraslash.git/commit
Constify struct filter access and introduce filter_get().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 6 Oct 2015 02:32:31 +0000 (02:32 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 10 Jan 2016 11:58:52 +0000 (12:58 +0100)
commitb0a115ed731885c92fcd8b6fb1c89b97dca410e8
tree92c537f5bbcf9b3ca57a1b2902eb20b28b69056a
parentde86b880e37b54167ed21198d99156b0acb657d3
Constify struct filter access and introduce filter_get().

This modifies all users of the filter API to not access the filter
array directly. Instead all callers now obtain a const pointer to
the filter structure through the new filter_get() accessor function.

However, the filter array can not be made constant yet because the
->init methods modify the filter structure. This requires some casts
in filter_common.c unfortunately.
audiod.c
filter.c
filter.h
filter_common.c
play.c