[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] get volume
- From: Milan Mimica <milan.mimica@xxxxxxxxxx>
- Date: Fri, 17 Mar 2006 19:00:41 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type; b=ElWwynGjrKYcgDqNji5rGxIELr4e/4N3PgtfqYaoI6GFgl+wHj1ndO7ZvTHHcAJwQsR29aGTsNpGZG3F3xcK2cl5gBByXS3QdzlLCK99encL3Xo7kxHwabZVLUl0avT95KUxgCgVFRXqjhyTSfvE2DC9ttMq4RXl23jPYSo4Eyk=
At least this patch should be applied. It's included in get_volume
patch. It is not related to get_volume API, but fixes the code and a
compiler warning (at the same time, what a deal!).
--
Milan Mimica
http://sparklet.sf.net
Index: src/win/wdsinput.c
===================================================================
--- src/win/wdsinput.c (revision 5752)
+++ src/win/wdsinput.c (working copy)
@@ -124,7 +124,7 @@
HRESULT hr;
/* create the capture buffer */
- ZeroMemory(&dsc_trybuf, sizeof(DSCBUFFERDESC));
+ ZeroMemory(&dsc_trybuf_desc, sizeof(DSCBUFFERDESC));
dsc_trybuf_desc.dwSize = sizeof(DSCBUFFERDESC);
dsc_trybuf_desc.dwFlags = 0;
dsc_trybuf_desc.dwBufferBytes = 1024;