summaryrefslogtreecommitdiff
path: root/games/tenebrae/files/patch-snd_sdl.c
blob: 454dd5ce296902dcfe8058a2d4ee0e2c86196b4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- ./snd_sdl.c.orig	Sat Jun 10 12:08:13 2006
+++ ./snd_sdl.c	Sat Jun 10 12:08:13 2006
@@ -94,7 +94,7 @@
 	shm = &the_shm;
 	shm->splitbuffer = 0;
 	shm->samplebits = (obtained.format & 0xFF);
-        shm->speed = obtained.freq;
+        shm->speed = desired.freq;
         shm->channels = obtained.channels;
 	shm->samples = obtained.samples*shm->channels;
 	shm->samplepos = 0;
@@ -119,3 +119,12 @@
 	}
 }
 
+/*
+==============
+SNDDMA_Submit
+Send sound to device if buffer isn't really the dma buffer
+===============
+*/
+void SNDDMA_Submit(void)
+{
+}