Skip to content

Commit

Permalink
Allow unknown guid3DAlgorithm values
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed May 16, 2021
1 parent e98f63f commit cec17f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dsound8.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,9 @@ static HRESULT WINAPI DS8_CreateSoundBuffer(IDirectSound8 *iface, LPCDSBUFFERDES
{
if(!IsEqualGUID(&desc->guid3DAlgorithm, &GUID_NULL))
{
WARN("Invalid 3D algorithm GUID specified for non-3D buffer: %s\n", debugstr_guid(&desc->guid3DAlgorithm));
return DSERR_INVALIDPARAM;
/* Not fatal. Some apps pass unknown values here. */
WARN("Unknown 3D algorithm GUID specified for non-3D buffer: %s\n",
debugstr_guid(&desc->guid3DAlgorithm));
}
}
else
Expand Down

0 comments on commit cec17f0

Please sign in to comment.