From: molivier Date: Fri, 26 Mar 2004 14:22:26 +0000 (+0000) Subject: The portable_samplepair_t structure has no need to be public X-Git-Tag: xonotic-v0.1.0preview~5957 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=b4b9ae3ea1a4d1252055e9a9969f4048ea3c3182 The portable_samplepair_t structure has no need to be public git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4061 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_mix.c b/snd_mix.c index e9075ba8..6434dbcf 100644 --- 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 ada3b519..bf8b5191 100644 --- 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;