You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name flags suggests that multiple flags can be set at once e.g.: both BUFFER_VALID and BUFFER_SILENT with a resulting value of 0x3. This would require a different handling than a switch statement.
Is the APO_BUFFER_FLAGS handling implemented in the SwapAPO using switch statement correct?
Windows-driver-samples/audio/sysvad/APO/SwapAPO/swapapomfx.cpp
Line 245 in b968cfb
Name flags suggests that multiple flags can be set at once e.g.: both BUFFER_VALID and BUFFER_SILENT with a resulting value of 0x3. This would require a different handling than a switch statement.
Clarification in the document:
https://learn.microsoft.com/en-us/windows/win32/api/audioapotypes/ne-audioapotypes-apo_buffer_flags
is needed on whether the ppInputConnections[0]->u32BufferFlags are to be treated as flags (as the field name suggests) or as an enumeration with only one value valid at a time. The current wording in the document using both enumeration and flags is ambiguous.
The text was updated successfully, but these errors were encountered: