Correct typo in LoadWave (wave is an DMObject not a DMTrack).
This commit is contained in:
parent
0aab81fa0c
commit
f10b38811a
@ -1167,7 +1167,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_LoadWave (LPPERSISTSTREAM
|
|||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
/* acquire PersistStream interface */
|
/* acquire PersistStream interface */
|
||||||
hr = IDirectMusicTrack_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream);
|
hr = IDirectMusicObject_QueryInterface (*ppWaveObject, &IID_IPersistStream, (LPVOID*) &pPersistStream);
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
ERR(": could not acquire IPersistStream\n");
|
ERR(": could not acquire IPersistStream\n");
|
||||||
return hr;
|
return hr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user