Displaying 1 result from an estimated 1 matches for "speex_decoder_st".
Did you mean:
speex_decoder_ctl
2008 Jul 30
1
Speex in VB .NET
...llImport(libpath)> _ Public Shared Function speex_decode_int(ByVal state As IntPtr, ByRef bits As SpeexBits, ByVal outt() As Single) As Integer End Function
#End Region
End Class
End Namespace
With this code I am now able to init the decoder as follows:
Dim speex_decoder_state As IntPtr Dim mode As Speex.Speex_win32.SpeexMode = DirectCast(Marshal.PtrToStructure(Speex.Speex_win32.speex_lib_get_mode(0), GetType(Speex.Speex_win32.SpeexMode)), Speex.Speex_win32.SpeexMode)
speex_decoder_state = Speex.Speex_win32.speex_decoder_init(mode)
and then I can do the...