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

Method sound_create_samples

StereoKit/Native/NativeAPI.cs:508–508  ·  view source on GitHub ↗
([In] float[] samples_at_48000s, ulong sample_count)

Source from the content-addressed store, hash-verified

506 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sound_create ([In] byte[] filename_utf8);
507 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sound_create_stream (float buffer_duration);
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);

Callers 1

FromSamplesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected