void dse_BufferNeeded(object sender, EventArgs e)
{
byte[] b = new byte[256];
for (int i = 0; i < b.Length; i+=2)
{
//b[i] = (byte)MyMath.RandomRange(0, 255);
Int16 val = (short)((i % 40000 < 100) ? 40000 : -40000);
b[i] = (byte)(val >> 8);
if (i + 1 < b.Length)
{
b[i + 1] = (byte)(val << 8);
}
}
dse.SubmitBuffer(b);
}