|
/// <summary> |
|
/// Reads samples from an audio buffer and interleaves them into a user-provided array. |
|
/// </summary> |
|
/// <param name="context">The context used to initialize Steam Audio.</param> |
|
/// <param name="src">The audio buffer to read from.</param> |
|
/// <param name="dst">The interleaved array to write into.</param> |
|
[DllImport(Library, EntryPoint = "iplAudioBufferInterleave", CallingConvention = CallingConvention.Cdecl)] |
|
public static extern void AudioBufferInterleave(IPL.Context context, in IPL.AudioBuffer src, in float dst); |
|
|
|
/// <summary> |
|
/// Writes interleaved samples from a user-provided array into an audio buffer. |
|
/// </summary> |
|
/// <param name="context">The context used to initialize Steam Audio.</param> |
|
/// <param name="src">The interleaved array to read from.</param> |
|
/// <param name="dst">The audio buffer to write into.</param> |
|
[DllImport(Library, EntryPoint = "iplAudioBufferDeinterleave", CallingConvention = CallingConvention.Cdecl)] |
|
public static extern void AudioBufferDeinterleave(IPL.Context context, in float src, in IPL.AudioBuffer dst); |
These should be float pointers, not floats
SteamAudio.NET/Src/IPL.Generated.cs
Lines 3556 to 3572 in c0285c3
These should be float pointers, not floats