10 Feb
2024
10 Feb
'24
10:24 a.m.
Rémi Bernon (@rbernon) commented about dlls/dmband/bandtrack.c:
+ TRACE("(%p, %s, %ld, %p, %p)\n", This, debugstr_dmguid(type), time, out_next, param);
if (!type) return E_POINTER; if (!IsEqualGUID(type, &GUID_BandParam)) return DMUS_E_GET_UNSUPPORTED; + if (list_empty(&This->bands)) + return DMUS_E_NOT_FOUND;
- FIXME("GUID_BandParam not handled yet\n"); + bandparam = param; + if (out_next) *out_next = 0;
+ LIST_FOR_EACH_ENTRY_SAFE(band, next_band, &This->bands, struct band_entry, entry) + { + /* we want to return the first band even when there's nothing with lBandTime <= time*/
/* we want to return the first band even when there's nothing with lBandTime <= time */
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5040#note_60787