This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.42d in repository iortcw.
commit 8bc192840106eb109111e4a07dd5b3001ab21a7f Author: [email protected] <[email protected]@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a> Date: Sun Aug 17 21:05:37 2014 +0000 All: Call S_AL_ClearSoundBuffer from S_AL_StopAllSounds like in Base sound --- MP/code/client/snd_openal.c | 25 +++++++++++++------------ SP/code/client/snd_openal.c | 25 +++++++++++++------------ 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/MP/code/client/snd_openal.c b/MP/code/client/snd_openal.c index 76c8997..da010ee 100644 --- a/MP/code/client/snd_openal.c +++ b/MP/code/client/snd_openal.c @@ -2316,6 +2316,18 @@ static cvar_t *s_alCapture; /* ================= +S_AL_ClearSoundBuffer +================= +*/ +static +void S_AL_ClearSoundBuffer( void ) +{ + S_AL_SrcShutdown( ); + S_AL_SrcInit( ); +} + +/* +================= S_AL_StopAllSounds ================= */ @@ -2327,6 +2339,7 @@ void S_AL_StopAllSounds( void ) S_AL_StopBackgroundTrack(); for (i = 0; i < MAX_RAW_STREAMS; i++) S_AL_StreamDie(i); + S_AL_ClearSoundBuffer(); } /* @@ -2444,18 +2457,6 @@ void S_AL_BeginRegistration( void ) /* ================= -S_AL_ClearSoundBuffer -================= -*/ -static -void S_AL_ClearSoundBuffer( void ) -{ - S_AL_SrcShutdown( ); - S_AL_SrcInit( ); -} - -/* -================= S_AL_SoundList ================= */ diff --git a/SP/code/client/snd_openal.c b/SP/code/client/snd_openal.c index be259ca..c48b4e7 100644 --- a/SP/code/client/snd_openal.c +++ b/SP/code/client/snd_openal.c @@ -2372,6 +2372,18 @@ static cvar_t *s_alCapture; /* ================= +S_AL_ClearSoundBuffer +================= +*/ +static +void S_AL_ClearSoundBuffer( void ) +{ + S_AL_SrcShutdown( ); + S_AL_SrcInit( ); +} + +/* +================= S_AL_StopAllSounds ================= */ @@ -2383,6 +2395,7 @@ void S_AL_StopAllSounds( void ) S_AL_StopBackgroundTrack(); for (i = 0; i < MAX_RAW_STREAMS; i++) S_AL_StreamDie(i); + S_AL_ClearSoundBuffer(); } /* @@ -2500,18 +2513,6 @@ void S_AL_BeginRegistration( void ) /* ================= -S_AL_ClearSoundBuffer -================= -*/ -static -void S_AL_ClearSoundBuffer( void ) -{ - S_AL_SrcShutdown( ); - S_AL_SrcInit( ); -} - -/* -================= S_AL_SoundList ================= */ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

