opnsense-ports/comms/linpsk/files/patch-src_csound.h
Franco Fichtner 8c34d21606 */*: bring in previously unknown upstream stuff
Taken from: FreeBSD
2015-04-22 06:26:02 +02:00

19 lines
538 B
C

--- src/csound.h.orig 2013-12-24 23:45:41.000000000 -0800
+++ src/csound.h 2015-01-07 07:38:09.000000000 -0800
@@ -22,6 +22,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <inttypes.h>
#include <QMutex>
#include <QWaitCondition>
@@ -49,7 +50,7 @@
private: // Private attributes
snd_pcm_t *handle;
bool output;
- double buffer[2*BUF_SIZE]; // 16 bit , stereo
+ int32_t buffer[2*BUF_SIZE]; // 16 bit , stereo
QMutex LockPointers;
QWaitCondition WakeUp;
void record();