Commit bf4954c8 authored by Adrian Knoth's avatar Adrian Knoth
Browse files

firewire: compile with FFADO versions < 9 again

ffado_streaming_set_period_size() is exposed starting r2078 of FFADO.
To avoid a build dependency on ffado-svn in jack, we copy the prototype

Since the symbol is defined as weak, no problems arise at runtime.
parent 05bdeafd
......@@ -46,6 +46,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "JackCompilerDeps.h"
#include "JackLockedEngine.h"
// FFADO_API_VERSION was first defined with API_VERSION 9, so all previous
// headers do not provide this define.
extern "C" int ffado_streaming_set_period_size(ffado_device_t *dev,
unsigned int period) __attribute__((__weak__));
namespace Jack
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment