Commit c9313c3c authored by Rinnegatamante's avatar Rinnegatamante
Browse files

Fixed broken audio playback.

parent e7b5548b
......@@ -69,8 +69,10 @@ qboolean SNDDMA_Init(void)
dma.speed = SAMPLE_RATE;
dma.channels = 1;
dma.samples = AUDIOSIZE / 2;
dma.fullsamples = dma.samples / dma.channels;
dma.submission_chunk = 1;
dma.buffer = audiobuffer = malloc(AUDIOSIZE);
dma.isfloat = 0;
tickRate = 1.0f / sceRtcGetTickResolution();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment