I'm trying to use some code from the Opus project in VB.net, it was originally written for C, but I am integrating it into another application...
byte[] _notEncodedBuffer = new byte[0];
byte[] soundBuffer = new byte[e.BytesRecorded + _notEncodedBuffer.Length];
I'm not sure how these should be translated into VB.net, I have translated all the code but this and am getting good results, just not entirely sure on these, had all kinds of errors with my attempts, including Identifier expected, Bracket identifier missing etc! :(
Dim wavNEB As Byte() = New Byte [0]
Dim wavSnd As Byte() = New Byte [e.BytesRecorded + wavNEB.Length]
That was my last attempt, but no cigar!
Any help much appreciated, I rarely have to break VB or C out so it's not a strong point...
[]to parhentesis()...Dim wavNEB(-1) as Byte