mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
Fix various compiler warnings
These caused build failures with -Werror.
This commit is contained in:
parent
68b30e36b4
commit
e8f3450a58
6 changed files with 13 additions and 68 deletions
|
|
@ -66,6 +66,7 @@ static inline double window_blackman(double x, double n_taps)
|
|||
(alpha / 2.0) * cos(2.0 * x);
|
||||
return r;
|
||||
}
|
||||
|
||||
static inline double window_cosh(double x, double n_taps)
|
||||
{
|
||||
double r;
|
||||
|
|
@ -80,7 +81,7 @@ static inline double window_cosh(double x, double n_taps)
|
|||
return r;
|
||||
}
|
||||
|
||||
#define window window_cosh
|
||||
#define window (1 ? window_cosh : window_blackman)
|
||||
|
||||
static int build_filter(float *taps, uint32_t stride, uint32_t n_taps, uint32_t n_phases, double cutoff)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue