diff options
Diffstat (limited to 'comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h')
-rw-r--r-- | comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h b/comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h index d2f63ad0d8e4..2b4ea48bf832 100644 --- a/comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h +++ b/comms/spandsp-devel/files/patch-src-spandsp-dc_restore.h @@ -1,14 +1,16 @@ ---- src/spandsp/dc_restore.h.orig Tue Jan 18 15:05:48 2005 -+++ src/spandsp/dc_restore.h Thu Jun 30 22:35:33 2005 -@@ -85,6 +85,11 @@ + +$FreeBSD$ + +--- src/spandsp/dc_restore.h.orig ++++ src/spandsp/dc_restore.h +@@ -109,5 +109,10 @@ } - /*- End of function --------------------------------------------------------*/ + #endif +#ifndef INT16_MAX +#define INT16_MAX 0x7fff +#define INT16_MIN (-0x7fff-1) +#endif + - static inline int16_t saturate(int32_t amp) - { - if (amp > INT16_MAX) + #endif + /*- End of file ------------------------------------------------------------*/ |