Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <inttypes.h>
#include <time.h>
#include <string.h>
#include <sys/ioctl.h>
@dv1
dv1 / sample-rate-conversion-with-polyphase-filtering-example.cpp
Created May 11, 2019 20:19
Simple example for how to perform bandlimited sample rate conversion with a polyphase filter
#include <vector>
#include <string>
#include <cmath>
#include <iostream>
#include <sndfile.h>
#ifdef WITH_RLIMIT
#include <sys/resource.h>
#endif
@dv1
dv1 / 0001-gstreamer1.0-plugins-base-Fix-OpenGL-packageconfig.patch
Created July 17, 2018 07:07
meta-freescale PACKAGECONFIG_GL EGL patch
From 89a9288534bfa508fdf9a227ba69e9dcdd480f91 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <dv@pseudoterminal.org>
Date: Tue, 17 Jul 2018 09:03:02 +0200
Subject: [PATCH] gstreamer1.0-plugins-base: Fix OpenGL packageconfig
The OpenGL stack in gstreamer1.0-plugins-base also needs EGL in order for
its OpenGL ES 2.x support to work
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---