diff options
author | Carsten Weisse <[email protected]> | 2005-12-04 17:26:14 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-12-04 17:26:14 +0000 |
commit | e3799171af42cb853e54177dda8022487ba0940c (patch) | |
tree | f282704044b710e0b2d5bc770967e4ba3c18427b /src/jake2/sound/S.java | |
parent | 5277c08d462583fac7575b990555c77777ed7d24 (diff) |
interface changed for cinematics
Diffstat (limited to 'src/jake2/sound/S.java')
-rw-r--r-- | src/jake2/sound/S.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/jake2/sound/S.java b/src/jake2/sound/S.java index 8a3e133..716e854 100644 --- a/src/jake2/sound/S.java +++ b/src/jake2/sound/S.java @@ -2,7 +2,7 @@ * S.java * Copyright (C) 2003 * - * $Id: S.java,v 1.11 2005-05-26 16:56:33 hzi Exp $ + * $Id: S.java,v 1.12 2005-12-04 17:26:14 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -30,6 +30,7 @@ import jake2.game.cvar_t; import jake2.qcommon.Com; import jake2.qcommon.Cvar; +import java.nio.ByteBuffer; import java.util.Vector; /** @@ -198,9 +199,13 @@ public class S { Cinematic streaming and voice over network ============ */ - public static void RawSamples(int samples, int rate, int width, int channels, byte[] data) { + public static void RawSamples(int samples, int rate, int width, int channels, ByteBuffer data) { impl.RawSamples(samples, rate, width, channels, data); } + + public static void disableStreaming() { + impl.disableStreaming(); + } /* ================== |