Skip to content

Commit

Permalink
dmband: Implement band track GUID_UnloadFromAudioPath parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbernon authored and julliard committed Sep 29, 2023
1 parent 0ad7b55 commit 52a38dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dlls/dmband/bandtrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@ static HRESULT WINAPI band_track_SetParam(IDirectMusicTrack8 *iface, REFGUID typ
else if (IsEqualGUID(type, &GUID_StandardMIDIFile))
FIXME("GUID_StandardMIDIFile not handled yet\n");
else if (IsEqualGUID(type, &GUID_UnloadFromAudioPath))
FIXME("GUID_UnloadFromAudioPath not handled yet\n");
{
struct band_entry *entry;
HRESULT hr;

LIST_FOR_EACH_ENTRY(entry, &This->bands, struct band_entry, entry)
if (FAILED(hr = IDirectMusicBand_Unload(entry->band, NULL))) break;
}

return S_OK;
}
Expand Down

0 comments on commit 52a38dc

Please sign in to comment.