filter-graph: make sure M_PIf is defined

This commit is contained in:
Wim Taymans 2025-06-17 09:25:54 +02:00
parent 0b2b723a0e
commit 953b0f81ad

View file

@ -2802,6 +2802,10 @@ static struct spa_fga_port zeroramp_ports[] = {
},
};
#ifndef M_PIf
# define M_PIf 3.14159265358979323846f /* pi */
#endif
static void zeroramp_run(void * Instance, unsigned long SampleCount)
{
struct builtin *impl = Instance;