adding in audio hat driver library for keyestudio

This commit is contained in:
talksik
2023-04-22 15:56:53 -07:00
parent 397a3dffb8
commit ced209de46
56 changed files with 12980 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <alsa/asoundlib.h>
#include <alsa/pcm_external.h>
#include <alsa/pcm_plugin.h>
#include <math.h>
void generate_sine(const snd_pcm_channel_area_t *areas,
snd_pcm_uframes_t offset,
int count, double *_phase);