From 34e5d1056d0cd83648db904549a368ef904e2be8 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 27 Jul 2011 15:47:29 +0000 Subject: - Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71 --- src/client/snd_public.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/snd_public.h') diff --git a/src/client/snd_public.h b/src/client/snd_public.h index 20c1c7f6..193f89ee 100644 --- a/src/client/snd_public.h +++ b/src/client/snd_public.h @@ -34,8 +34,8 @@ void S_StopBackgroundTrack( void ); // cinematics and voice-over-network will send raw samples // 1.0 volume will be direct output of source samples -void S_RawSamples (int stream, int samples, int rate, int width, int channels, - const byte *data, float volume); +void S_RawSamples(int stream, int samples, int rate, int width, int channels, + const byte *data, float volume, int entityNum); // stop all sounds and the background track void S_StopAllSounds( void ); -- cgit