0
0

Hi,

Version: 4.08.06

The struct CREATESOUNDEXINFO does not contain necessary new fields (initialseekposition and initialseekpostype).
[code:3l9zdxmq]
public struct CREATESOUNDEXINFO
{
...

//!!!!!betauser
public uint initialseekposition;/* [in] Optional. Specify 0 to ignore. For streams. Specify an initial position to seek the stream to. */
public FMOD.TIMEUNIT initialseekpostype; /* [in] Optional. Specify 0 to ignore. For streams. Specify the time unit for the position set in initialseekposition. */

}
[/code:3l9zdxmq]

  • You must to post comments
0
0

Also need (for correct porting to others .NET runtime implementations) is necessary add StructLayout attribute for all structures:

[code:1l0ou2mz]
[StructLayout( LayoutKind.Sequential, CharSet = CharSet.Ansi )]
public struct VECTOR
public struct CDTOC
public struct CREATESOUNDEXINFO
public struct REVERB_CHANNELPROPERTIES
[/code:1l0ou2mz]

  • You must to post comments
0
0

I again :).

And also not user-friendly number of the version in the hexadecimal form.
It is necessary to write a code for transformation to the decimal form.

Bad:
[code:10bxivnb]
public const int number = 0x00040806;
[/code:10bxivnb]
Good:
[code:10bxivnb]
public const int number = 00040806;
[/code:10bxivnb]

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.