Skip to content

Instantly share code, notes, and snippets.

View dennis-hamester's full-sized avatar

Dennis Hamester dennis-hamester

View GitHub Profile
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <sys/time.h>
#include <interface/mmal/mmal.h>
#include <interface/mmal/util/mmal_util.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <sys/time.h>
#include <interface/mmal/mmal.h>
#include <interface/mmal/util/mmal_util.h>
@dennis-hamester
dennis-hamester / alsa-playback.c
Created November 22, 2013 14:35
alsa rpi bug test tool
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>
#include <time.h>
#include <alsa/asoundlib.h>
#define BUFSIZE 1024
#define PI 3.141592654