]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
The portable_samplepair_t structure has no need to be public
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 26 Mar 2004 14:22:26 +0000 (14:22 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 26 Mar 2004 14:22:26 +0000 (14:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4061 d7cf8633-e32d-0410-b094-e92efae38249

snd_mix.c
sound.h

index e9075ba8ea52da67b4d28ae451efe4659350cb27..6434dbcf2098232dda8b67db1ff4ae181f122547 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -21,6 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
+typedef struct
+{
+       int left;
+       int right;
+} portable_samplepair_t;
+
 // LordHavoc: was 512, expanded to 2048
 #define        PAINTBUFFER_SIZE 2048
 portable_samplepair_t paintbuffer[PAINTBUFFER_SIZE];
diff --git a/sound.h b/sound.h
index ada3b5196a7873cb15d8535b4ddc7a0d0c4c0f9d..bf8b5191566883de40dd6c289a5cb2feaf991918 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -25,12 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define DEFAULT_SOUND_PACKET_VOLUME 255
 #define DEFAULT_SOUND_PACKET_ATTENUATION 1.0
 
-typedef struct
-{
-       int left;
-       int right;
-} portable_samplepair_t;
-
 typedef struct
 {
        size_t  length;