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

Method sound_create

StereoKit/Native/NativeAPI.cs:506–506  ·  view source on GitHub ↗
([In] byte[] filename_utf8)

Source from the content-addressed store, hash-verified

504 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void sound_set_id (IntPtr sound, string id);
505 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr sound_get_id (IntPtr sound);
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);

Callers 1

FromFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected