I added this line to your example because otherwise the BitmapExpression is only updated at startup:
Code: Select all
@RefreshContent(Component:BitmapRainbow);
I added this line to your example because otherwise the BitmapExpression is only updated at startup:
Code: Select all
@RefreshContent(Component:BitmapRainbow);
Code: Select all
uses
cmem,
cthreads,
jni,
ZOpenGL,
Code: Select all
MixAndCopyData(PBuffer, Min(OnePassSize, bufferSizeInBytes));
env^.ReleasePrimitiveArrayCritical(env, buffer, pBuffer, 0);
env^.CallNonvirtualIntMethodV(env, track, cAudioTrack, mWrite, C([buffer, 0, Min(OnePassSize, bufferSizeInBytes)]));