You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
First of all, many thanks for providing this excellent bridge to DirectX!
I am currently in the process of migrating a project from SlimDX, and in this process, I have encountered functional differences between the SlimDXWaveStream class and the SharpDXSoundStream class, which I think is due to an incorrect implementation in the SoundStream class.
As far as I can tell from the implementation of the SoundStream.Seek method, the start position of the data "chunk" (given by the field startPositionOfData) is ignored when calling the Seek method of the underlying Stream.
If I am not mistaken, for correctness line 302 should instead read:
return input.Seek(newPosition, SeekOrigin.Begin);
The text was updated successfully, but these errors were encountered:
Apologies for the confusion, closing and reopening this issue. But I actually believe I have located the problem this time, please see my updated entry above.
First of all, many thanks for providing this excellent bridge to DirectX!
I am currently in the process of migrating a project from SlimDX, and in this process, I have encountered functional differences between the SlimDX
WaveStream
class and the SharpDXSoundStream
class, which I think is due to an incorrect implementation in theSoundStream
class.As far as I can tell from the implementation of the SoundStream.Seek method, the start position of the data "chunk" (given by the field
startPositionOfData
) is ignored when calling theSeek
method of the underlyingStream
.If I am not mistaken, for correctness line 302 should instead read:
The text was updated successfully, but these errors were encountered: