Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// PFM's method.
public static unsafe void TestMethod1()
{
float* samples = stackalloc float[12500];
for (var i = 0; i < 100; i++)
{
for (var ii = 0; ii < 12500; ii++)
{
samples[ii] = 32768;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.