Ejemplo n.º 1
0
            public codecWrapper(NSpeex.BandMode mode, bool vbr)
            {
                encoder = new NSpeex.SpeexEncoder(mode);
                decoder = new NSpeex.SpeexDecoder(mode, false);

                encoder.VBR     = vbr;
                encoder.Quality = 5;
            }
Ejemplo n.º 2
0
        static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @enhanced = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            NSpeex.BandMode @mode = (NSpeex.BandMode) typeof(NSpeex.BandMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = new NSpeex.SpeexDecoder(@mode, @enhanced);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }