X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=snd_mix.c;h=d2329f408692676b5b5d17bed75e7aad239ef900;hp=e7396cb8b81a239600a17f41f44339a8230aa050;hb=6824d8ddc8a43cae0609be5bbe8bee01fa1a4225;hpb=2cadb08a5230c73be4599c7543fd02edfb350932 diff --git a/snd_mix.c b/snd_mix.c index e7396cb8..d2329f40 100644 --- a/snd_mix.c +++ b/snd_mix.c @@ -34,12 +34,12 @@ portable_samplepair_t paintbuffer[PAINTBUFFER_SIZE]; // FIXME: this desyncs with the video too easily extern qboolean cl_capturevideo_active; -extern void SCR_CaptureVideo_SoundFrame(qbyte *bufstereo16le, size_t length, int rate); +extern void SCR_CaptureVideo_SoundFrame(unsigned char *bufstereo16le, size_t length, int rate); void S_CaptureAVISound(portable_samplepair_t *buf, size_t length) { int n; size_t i; - qbyte out[PAINTBUFFER_SIZE * 4]; + unsigned char out[PAINTBUFFER_SIZE * 4]; if (!cl_capturevideo_active) return; // write the sound buffer as little endian 16bit interleaved stereo