Fixed invalid buffer size by rounding up to next multiple of
commitb8d6b310f9fa2ce33fe1a03604a9c90eb9eb5c7d
authorRobert Reif <reif@earthlink.net>
Wed, 16 Feb 2005 16:09:02 +0000 (16 16:09 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 16 Feb 2005 16:09:02 +0000 (16 16:09 +0000)
tree8009146caf5e0deae546556d4e4da85de7c2b764
parent373dc8909f79ec952f4bedb910c57d58dbb61b22
Fixed invalid buffer size by rounding up to next multiple of
nBlockAlign.
Added test to verify buffer rounding behavior.
dlls/dsound/buffer.c
dlls/dsound/tests/ds3d.c
dlls/dsound/tests/ds3d8.c
dlls/dsound/tests/dsound.c
dlls/dsound/tests/dsound8.c
dlls/dsound/tests/dsound_test.h