Displaying 2 results from an estimated 2 matches for "locksiz".
Did you mean:
locksize
2006 Dec 28
0
using speex in C#
...ex_lib_get_mode(1), typeof(SpeexMode));
Speex.speex_bits_init(ref bits);
IntPtr enc_state = Speex.speex_encoder_init(ref mode);
Int16[] CaptureData = null;
(CaptureData receives data recorded from mic...)
CaptureData = (Int16[])dsCapBuffer.Read(NextCaptureOffset, typeof(Int16), LockFlag.None, LockSize);
Speex.speex_bits_reset(ref bits);
Speex.speex_encode_int(enc_state, CaptureData, ref bits); // at this point, System.AccessViolationException occurs
Whould anyone tell me what wrong about my code?
Please help me.
Regards
Kaihong
2006 Dec 29
0
using speex in C#
...ex_lib_get_mode(1),
typeof(SpeexMode));
Speex.speex_bits_init(ref bits);
IntPtr enc_state = Speex.speex_encoder_init(ref mode);
Int16[] CaptureData = null;
(CaptureData receives data recorded from mic...)
CaptureData = (Int16[])dsCapBuffer.Read(NextCaptureOffset,
typeof(Int16), LockFlag.None, LockSize);
Speex.speex_bits_reset(ref bits);
Speex.speex_encode_int(enc_state, CaptureData, ref bits); //
at this point, System.AccessViolationException occurs
Whould anyone tell me what wrong about my code?
Please help me.
Regards
Kaihong
------------------------------
___________________________...