Michael Stefaniuc : dsound/tests: IDirectSoundBuffer and IDirectSoundBuffer8 use the same implementation.

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:21 CDT 2011


Module: wine
Branch: master
Commit: beac9a27e62ab58e6eb8c4fb3a652495e3109d84
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=beac9a27e62ab58e6eb8c4fb3a652495e3109d84

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Aug 24 02:29:22 2011 +0200

dsound/tests: IDirectSoundBuffer and IDirectSoundBuffer8 use the same implementation.

---

 dlls/dsound/tests/dsound8.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index 5561051..6406b47 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -356,6 +356,8 @@ static HRESULT test_dsound8(LPGUID lpGuid)
                                             &IID_IDirectSoundBuffer8,
                                             (void **)&buffer8);
             if (rc==DS_OK && buffer8!=NULL) {
+                ok(buffer8==(IDirectSoundBuffer8*)secondary,
+                   "IDirectSoundBuffer8 iface different from IDirectSoundBuffer.\n");
                 ref=IDirectSoundBuffer8_AddRef(buffer8);
                 ok(ref==3,"IDirectSoundBuffer8_AddRef() has %d references, "
                    "should have 3\n",ref);




More information about the wine-cvs mailing list