Correct typo in LoadWave (wave is an DMObject not a DMTrack).

This commit is contained in:
Raphael Junqueira 2004-06-01 19:44:01 +00:00 committed by Alexandre Julliard
parent 0aab81fa0c
commit f10b38811a
1 changed files with 1 additions and 1 deletions

View File

@ -1167,7 +1167,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_LoadWave (LPPERSISTSTREAM
return hr;
}
/* acquire PersistStream interface */
hr = IDirectMusicTrack_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream);
hr = IDirectMusicObject_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream);
if (FAILED(hr)) {
ERR(": could not acquire IPersistStream\n");
return hr;