]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.h
send input for every client frame in singleplayer
[xonotic/darkplaces.git] / snd_main.h
index 47a580a93dcf1fc98f2334671fd40f0ea2c03a90..1d6011ab909a9ff3950af7950452c508b5f15ec1 100644 (file)
@@ -71,8 +71,8 @@ struct sfx_s
                                                                                // freed at level change by S_ServerSounds.
 
        unsigned int            flags;                  // cf SFXFLAG_* defines
-       int                                     loopstart;              // in sample frames. -1 if not looped
-       int                                     total_length;   // in sample frames
+       unsigned int            loopstart;              // in sample frames. equals total_length if not looped
+       unsigned int            total_length;   // in sample frames
        const snd_fetcher_t     *fetcher;
        void                            *fetcher_data;  // Per-sfx data for the sound fetching functions
 };