mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
audio/spiralloops: Fix build on GCC (taken from dports)
This commit is contained in:
parent
ef1324e505
commit
e26455b188
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428824
@ -1,6 +1,14 @@
|
|||||||
--- SpiralSound/Sample.h.orig Fri Dec 22 18:39:01 2006
|
--- SpiralSound/Sample.h.orig 2001-04-19 20:48:13 UTC
|
||||||
+++ SpiralSound/Sample.h Fri Dec 22 18:39:30 2006
|
+++ SpiralSound/Sample.h
|
||||||
@@ -63,13 +63,13 @@
|
@@ -21,6 +21,7 @@
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
#include <iostream>
|
||||||
|
+#include <cstring>
|
||||||
|
#include "SpiralInfo.h"
|
||||||
|
|
||||||
|
static const unsigned short UMAX_LEV = 65535;
|
||||||
|
@@ -63,13 +64,13 @@ public:
|
||||||
void Shrink(int Length);
|
void Shrink(int Length);
|
||||||
void CropTo(int NewLength);
|
void CropTo(int NewLength);
|
||||||
|
|
||||||
@ -16,7 +24,7 @@
|
|||||||
{
|
{
|
||||||
assert(i>=0 && i<m_Length);
|
assert(i>=0 && i<m_Length);
|
||||||
// clip
|
// clip
|
||||||
@@ -79,7 +79,7 @@
|
@@ -79,7 +80,7 @@ public:
|
||||||
m_Data[i]=(short)v;
|
m_Data[i]=(short)v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user