void-packages/srcpkgs/rdesktop/patches/rdesktop-libao.patch
2012-12-21 15:50:12 +01:00

19 lines
574 B
Diff

--- rdpsnd_libao.c.ao 2007-10-30 14:57:30.000000000 +0100
+++ 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);