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 e9075ba..6434dbc 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 ada3b51..bf8b519 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;