mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
Rename libaf/af_resample.h to libaf/af_resample_template.c, it is used as
a macro, not as a header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28236 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d19fef9187
commit
eec12427d7
@ -31,7 +31,7 @@
|
||||
#define L16
|
||||
#endif
|
||||
|
||||
#include "af_resample.h"
|
||||
#include "af_resample_template.c"
|
||||
|
||||
// Filtering types
|
||||
#define RSMP_LIN (0<<0) // Linear interpolation
|
||||
@ -316,12 +316,12 @@ static af_data_t* play(struct af_instance_s* af, af_data_t* data)
|
||||
# define FORMAT_I 1
|
||||
if(s->up>s->dn){
|
||||
# define UP
|
||||
# include "af_resample.h"
|
||||
# include "af_resample_template.c"
|
||||
# undef UP
|
||||
}
|
||||
else{
|
||||
# define DN
|
||||
# include "af_resample.h"
|
||||
# include "af_resample_template.c"
|
||||
# undef DN
|
||||
}
|
||||
break;
|
||||
@ -330,12 +330,12 @@ static af_data_t* play(struct af_instance_s* af, af_data_t* data)
|
||||
# define FORMAT_F 1
|
||||
if(s->up>s->dn){
|
||||
# define UP
|
||||
# include "af_resample.h"
|
||||
# include "af_resample_template.c"
|
||||
# undef UP
|
||||
}
|
||||
else{
|
||||
# define DN
|
||||
# include "af_resample.h"
|
||||
# include "af_resample_template.c"
|
||||
# undef DN
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user