[PATCH] wineoss.drv: Don't call GETOSPACE immediately after device initialization

Andrew Eikum aeikum at codeweavers.com
Mon Feb 6 09:24:46 CST 2012


This patch fixes a strange problem with OSS output introduced by
92e835111bbb22b8c0002ce5d61a24565176a443.

In some cases, this GETOSPACE call causes the OSS device to receive
and process samples, but not actually feed them to the speakers. I
spent some time trying to discover why the device breaks in this way,
but wasn't able to figure out anything useful. See the last few
comments on Bug 29585 for some more details.

The changes makes sense for wineoss anyway, since we validate the
value in oss_bufsize_bytes before using it.

---

 dlls/wineoss.drv/mmdevdrv.c |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wineoss.drv-Don-t-call-GETOSPACE-immediately-after-d.patch
Type: text/x-patch
Size: 1302 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120206/ae226ee1/attachment.bin>


More information about the wine-patches mailing list