summaryrefslogtreecommitdiff
path: root/extra/rdesktop/rdesktop-libao.patch
blob: 1f3dea9ed80ced58ff8b33a991e96abf81de6af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -up rdesktop-1.6.0/rdpsnd_libao.c.ao rdesktop-1.6.0/rdpsnd_libao.c
--- rdesktop-1.6.0/rdpsnd_libao.c.ao	2007-10-30 14:57:30.000000000 +0100
+++ rdesktop-1.6.0/rdpsnd_libao.c	2010-12-02 21:22:39.000000000 +0100
@@ -76,7 +76,7 @@ libao_open(void)
 	format.channels = 2;
 	format.rate = 44100;
 	format.byte_format = AO_FMT_NATIVE;
-
+	format.matrix = NULL;
 
 	o_device = ao_open_live(default_driver, &format, NULL);
 	if (o_device == NULL)
@@ -115,6 +115,7 @@ libao_set_format(RD_WAVEFORMATEX * pwfx)
 	format.channels = pwfx->nChannels;
 	format.rate = 44100;
 	format.byte_format = AO_FMT_NATIVE;
+	format.matrix = NULL;
 
 	if (o_device != NULL)
 		ao_close(o_device);