Skip to content

Commit

Permalink
ao_pipewire: fix compatibility with old version of libpipewire
Browse files Browse the repository at this point in the history
For example Ubuntu 21.10 does not have this define.
  • Loading branch information
t-8ch committed Jan 6, 2022
1 parent 77985fe commit 77cbd9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions audio/out/ao_pipewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
#include "internal.h"
#include "osdep/timer.h"

// Added in Pipewire0.3.33
// remove the fallback when we require a newer version
#ifndef PW_KEY_NODE_RATE
#define PW_KEY_NODE_RATE "node.rate"
#endif

struct priv {
struct pw_thread_loop *loop;
struct pw_stream *stream;
Expand Down

0 comments on commit 77cbd9c

Please sign in to comment.