diff options
author | Tony J. White <tjw@tjw.org> | 2009-10-03 11:43:31 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:17 +0000 |
commit | d50e12bb38f69124416033039f8084b2bc11f972 (patch) | |
tree | 5a081d29a5e38fe3e958822475a55a32be259b85 /src/client/snd_public.h | |
parent | aaa6c764b0faf5bcdc0108eed7a18a130caab662 (diff) |
* add new CG syscall trap_S_SoundDuration() that returns play time
in msec for a registered sfxHandle
Diffstat (limited to 'src/client/snd_public.h')
-rw-r--r-- | src/client/snd_public.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/snd_public.h b/src/client/snd_public.h index c85f414a..d737412b 100644 --- a/src/client/snd_public.h +++ b/src/client/snd_public.h @@ -64,6 +64,8 @@ void S_BeginRegistration( void ); // checks for missing files sfxHandle_t S_RegisterSound( const char *sample, qboolean compressed ); +int S_SoundDuration( sfxHandle_t handle ); + void S_DisplayFreeMemory(void); void S_ClearSoundBuffer( void ); |