Rémi Bernon (@rbernon) commented about dlls/dmime/audiopath.c:
- if (FAILED(hr = dmobj_parsedescriptor(stream, &riff, &This->dmobj.desc,
DMUS_OBJ_OBJECT | DMUS_OBJ_VERSION | DMUS_OBJ_NAME | DMUS_OBJ_CATEGORY))
|| FAILED(hr = stream_reset_chunk_data(stream, &riff))) {
WARN("Failed to parse descriptor %#lx.\n", hr);
return hr;
- }
- This->dmobj.desc.guidClass = CLSID_DirectMusicAudioPathConfig;
- This->dmobj.desc.dwValidData |= DMUS_OBJ_CLASS;
- return IDirectMusicObject_ParseDescriptor(&This->dmobj.IDirectMusicObject_iface, stream,
&This->dmobj.desc);
- chunk.parent = &riff;
- while ((hr = stream_next_chunk(stream, &chunk)) == S_OK) {
switch (chunk.id) {
case FOURCC_LIST:
if (chunk.type == DMUS_FOURCC_PORTCONFIGS_LIST) {
```suggestion:-0+0 if (chunk.type == DMUS_FOURCC_PORTCONFIGS_LIST) { ```