]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_oss.c
Revert renamings from 591877ee0c64958303dcbb4f2af3d343a420cf6a
[xonotic/darkplaces.git] / snd_oss.c
index ecf18333573b37f90ef8721b06309ffd143f66dc..05f91c92ff50ded803d3f5d9712294a692eece33 100644 (file)
--- a/snd_oss.c
+++ b/snd_oss.c
@@ -222,7 +222,7 @@ static int SndSys_Write (const unsigned char* buffer, unsigned int nb_bytes)
 
        factor = snd_renderbuffer->format.width * snd_renderbuffer->format.channels;
        if (written % factor != 0)
-               Sys_Abort ("SndSys_Write: nb of bytes written (%d) isn't aligned to a frame sample!\n",
+               Sys_Error ("SndSys_Write: nb of bytes written (%d) isn't aligned to a frame sample!\n",
                                   written);
 
        snd_renderbuffer->startframe += written / factor;