MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / sound_write_samples

Method sound_write_samples

StereoKit/Native/NativeAPI.cs:510–510  ·  view source on GitHub ↗
(IntPtr sound, [In ] float[] samples,     ulong sample_count)

Source from the content-addressed store, hash-verified

508 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sound_create_samples([In] float[] samples_at_48000s, ulong sample_count);
509 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sound_generate ([MarshalAs(UnmanagedType.FunctionPtr)] AudioGenerator function, float duration);
510 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sound_write_samples (IntPtr sound, [In ] float[] samples, ulong sample_count);
511 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sound_write_samples (IntPtr sound, IntPtr samples, ulong sample_count);
512 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern ulong sound_read_samples (IntPtr sound, [Out] float[] out_samples, ulong sample_count);
513 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern ulong sound_read_samples (IntPtr sound, IntPtr out_samples, ulong sample_count);

Callers 1

WriteSamplesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected