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 5, 2022
1 parent d0c08f9 commit 6a0a491
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions audio/out/ao_pipewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include "internal.h"
#include "osdep/timer.h"

#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 6a0a491

Please sign in to comment.