[iortcw] 429/497: MP: Don't clear sound buffer on reads/writes
Simon McVittie
smcv at debian.org
Fri Sep 8 10:37:42 UTC 2017
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 4ef291864124a032b3e47eafc45a4c62250b1edb
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Sun Nov 15 00:09:44 2015 -0500
MP: Don't clear sound buffer on reads/writes
---
MP/code/qcommon/files.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/MP/code/qcommon/files.c b/MP/code/qcommon/files.c
index 56439ca..399b920 100644
--- a/MP/code/qcommon/files.c
+++ b/MP/code/qcommon/files.c
@@ -724,7 +724,7 @@ long FS_SV_FOpenFileRead( const char *filename, fileHandle_t *fp ) {
Q_strncpyz( fsh[f].name, filename, sizeof( fsh[f].name ) );
// don't let sound stutter
- S_ClearSoundBuffer();
+// S_ClearSoundBuffer();
// search homepath
ospath = FS_BuildOSPath( fs_homepath->string, filename, "" );
@@ -801,7 +801,7 @@ void FS_SV_Rename( const char *from, const char *to, qboolean safe ) {
}
// don't let sound stutter
- S_ClearSoundBuffer();
+// S_ClearSoundBuffer();
from_ospath = FS_BuildOSPath( fs_homepath->string, from, "" );
to_ospath = FS_BuildOSPath( fs_homepath->string, to, "" );
@@ -836,7 +836,7 @@ void FS_Rename( const char *from, const char *to ) {
}
// don't let sound stutter
- S_ClearSoundBuffer();
+// S_ClearSoundBuffer();
from_ospath = FS_BuildOSPath( fs_homepath->string, fs_gamedir, from );
to_ospath = FS_BuildOSPath( fs_homepath->string, fs_gamedir, to );
@@ -944,7 +944,7 @@ fileHandle_t FS_FOpenFileAppend( const char *filename ) {
Q_strncpyz( fsh[f].name, filename, sizeof( fsh[f].name ) );
// don't let sound stutter
- S_ClearSoundBuffer();
+// S_ClearSoundBuffer();
ospath = FS_BuildOSPath( fs_homepath->string, fs_gamedir, filename );
@@ -987,7 +987,7 @@ fileHandle_t FS_FCreateOpenPipeFile( const char *filename ) {
Q_strncpyz( fsh[f].name, filename, sizeof( fsh[f].name ) );
// don't let sound stutter
- S_ClearSoundBuffer();
+// S_ClearSoundBuffer();
ospath = FS_BuildOSPath( fs_homepath->string, fs_gamedir, filename );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list