Skip to content

Instantly share code, notes, and snippets.

View rfuchs's full-sized avatar

Richard Fuchs rfuchs

  • Sipwise GmbH
  • Binbrook, ON
View GitHub Profile
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#define FULL_MASK 0xffffffff
__device__ static void silk_biquad_float(
const float *in, /* I: Input signal */
const float *B, /* I: MA coefficients [3] */
--- a/src/Makefile
+++ b/src/Makefile
@@ -204,7 +204,7 @@
# list of utils directories that should be compiled by make utils
-C_COMPILE_UTILS= ../utils/kamcmd
+C_COMPILE_UTILS= ../utils/kamcmd ../utils/openssl_mutex_shared
# list of binaries that should be installed alongside
# (they should be created after make utils, see C_COMPILE_UTILS)
#include <pthread.h>
#include <dlfcn.h>
int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr)
{
int (*real_pthread_mutex_init)(pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr)
= dlsym(RTLD_NEXT, "pthread_mutex_init");
if (__mutexattr) {
pthread_mutexattr_t attr = *__mutexattr;