}
maxMixedSamples = BUFFER_SIZE;
- s_mixedSamples = Mem_Alloc (snd_mempool, sizeof(*s_mixedSamples) * maxMixedSamples);
+ s_mixedSamples = (short *)Mem_Alloc (snd_mempool, sizeof(*s_mixedSamples) * maxMixedSamples);
Con_DPrintf(" Buffer size = %d samples (%d chunks)\n",
maxMixedSamples, (maxMixedSamples / submissionChunk));
shm->format.channels = outputStreamBasicDescription.mChannelsPerFrame;
shm->format.width = 2;
shm->samples = maxMixedSamples;
- shm->buffer = (qbyte *)s_mixedSamples;
+ shm->buffer = (unsigned char *)s_mixedSamples;
shm->samplepos = 0;
// We haven't enqueued anything yet