Is this an acceptable fix? If so I'll fix the rest of the file.

Dmitry Timoshkov dmitry at baikal.ru
Fri Apr 15 23:16:41 CDT 2005


"Jakob Eriksson" <jakov at vmlinux.org> wrote:

> @@ -1109,7 +1109,7 @@
>      bufdesc.dwSize=sizeof(bufdesc);
>      bufdesc.dwFlags=DSBCAPS_PRIMARYBUFFER|DSBCAPS_CTRL3D;
>      rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&primary,NULL);
> -    ok(rc==DS_OK && primary!=NULL,"IDirectSound_CreateSoundBuffer() failed "
> +    ok(rc==E_INVALIDARG || (rc==DS_OK && primary!=NULL),"IDirectSound_CreateSoundBuffer() failed "
>         "to create a 3D primary buffer: %s\n",DXGetErrorString8(rc));

I'm afraid you need to find what exactly IDirectSound_CreateSoundBuffer
doesn't like in the passed arguments. This might be DSBCAPS_CTRL3D flag.

-- 
Dmitry.




More information about the wine-devel mailing list