ref: a4a5d923d3accec3f56f4da6081ee34ee3997f51
parent: 8717f3339df1de4076c311b02b077bd2449f2f7c
author: Konstantinn Bonnet <[email protected]>
date: Fri Mar 13 20:24:53 EDT 2015
fix shitty audio ... by just setting the correct number of samples/sec.
--- a/plan9/snd_9.c
+++ b/plan9/snd_9.c
@@ -69,7 +69,7 @@
dma.channels = (int)sndchannels->value;
if(dma.channels < 1 || dma.channels > 2)
dma.channels = 2;
- dma.samples = 1024;
+ dma.samples = 8192;
dma.submission_chunk = 1;
if((dma.buffer = mallocz(dma.samplebits/8 * dma.samples, 1)) == nil)
sysfatal("SNDDMA_Init:mallocz: %r\n");