Example #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("grab", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateIAudioDecoder_0(SwigDirectorgrab);
     }
     if (SwigDerivedClassHasMethod("drop", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateIAudioDecoder_1(SwigDirectordrop);
     }
     if (SwigDerivedClassHasMethod("getFormat", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateIAudioDecoder_2(SwigDirectorgetFormat);
     }
     if (SwigDerivedClassHasMethod("getFrequency", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateIAudioDecoder_3(SwigDirectorgetFrequency);
     }
     if (SwigDerivedClassHasMethod("isSeekingSupported", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateIAudioDecoder_4(SwigDirectorisSeekingSupported);
     }
     if (SwigDerivedClassHasMethod("isValid", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateIAudioDecoder_5(SwigDirectorisValid);
     }
     if (SwigDerivedClassHasMethod("readAudioData", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateIAudioDecoder_6(SwigDirectorreadAudioData);
     }
     if (SwigDerivedClassHasMethod("setPosition", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegateIAudioDecoder_7(SwigDirectorsetPosition);
     }
     if (SwigDerivedClassHasMethod("seek", swigMethodTypes8))
     {
         swigDelegate8 = new SwigDelegateIAudioDecoder_8(SwigDirectorseek);
     }
     if (SwigDerivedClassHasMethod("getTotalTime", swigMethodTypes9))
     {
         swigDelegate9 = new SwigDelegateIAudioDecoder_9(SwigDirectorgetTotalTime);
     }
     if (SwigDerivedClassHasMethod("getTotalSize", swigMethodTypes10))
     {
         swigDelegate10 = new SwigDelegateIAudioDecoder_10(SwigDirectorgetTotalSize);
     }
     if (SwigDerivedClassHasMethod("getCompressedSize", swigMethodTypes11))
     {
         swigDelegate11 = new SwigDelegateIAudioDecoder_11(SwigDirectorgetCompressedSize);
     }
     if (SwigDerivedClassHasMethod("getCurrentTime", swigMethodTypes12))
     {
         swigDelegate12 = new SwigDelegateIAudioDecoder_12(SwigDirectorgetCurrentTime);
     }
     if (SwigDerivedClassHasMethod("getCurrentPosition", swigMethodTypes13))
     {
         swigDelegate13 = new SwigDelegateIAudioDecoder_13(SwigDirectorgetCurrentPosition);
     }
     if (SwigDerivedClassHasMethod("getCurrentCompressedPosition", swigMethodTypes14))
     {
         swigDelegate14 = new SwigDelegateIAudioDecoder_14(SwigDirectorgetCurrentCompressedPosition);
     }
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes15))
     {
         swigDelegate15 = new SwigDelegateIAudioDecoder_15(SwigDirectorgetType);
     }
     cAudioCSharpWrapperPINVOKE.IAudioDecoder_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15);
 }
Example #2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("grab", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateIAudioDecoder_0(SwigDirectorgrab);
     if (SwigDerivedClassHasMethod("drop", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateIAudioDecoder_1(SwigDirectordrop);
     if (SwigDerivedClassHasMethod("getFormat", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateIAudioDecoder_2(SwigDirectorgetFormat);
     if (SwigDerivedClassHasMethod("getFrequency", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateIAudioDecoder_3(SwigDirectorgetFrequency);
     if (SwigDerivedClassHasMethod("isSeekingSupported", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateIAudioDecoder_4(SwigDirectorisSeekingSupported);
     if (SwigDerivedClassHasMethod("isValid", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateIAudioDecoder_5(SwigDirectorisValid);
     if (SwigDerivedClassHasMethod("readAudioData", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateIAudioDecoder_6(SwigDirectorreadAudioData);
     if (SwigDerivedClassHasMethod("setPosition", swigMethodTypes7))
       swigDelegate7 = new SwigDelegateIAudioDecoder_7(SwigDirectorsetPosition);
     if (SwigDerivedClassHasMethod("seek", swigMethodTypes8))
       swigDelegate8 = new SwigDelegateIAudioDecoder_8(SwigDirectorseek);
     if (SwigDerivedClassHasMethod("getTotalTime", swigMethodTypes9))
       swigDelegate9 = new SwigDelegateIAudioDecoder_9(SwigDirectorgetTotalTime);
     if (SwigDerivedClassHasMethod("getTotalSize", swigMethodTypes10))
       swigDelegate10 = new SwigDelegateIAudioDecoder_10(SwigDirectorgetTotalSize);
     if (SwigDerivedClassHasMethod("getCompressedSize", swigMethodTypes11))
       swigDelegate11 = new SwigDelegateIAudioDecoder_11(SwigDirectorgetCompressedSize);
     if (SwigDerivedClassHasMethod("getCurrentTime", swigMethodTypes12))
       swigDelegate12 = new SwigDelegateIAudioDecoder_12(SwigDirectorgetCurrentTime);
     if (SwigDerivedClassHasMethod("getCurrentPosition", swigMethodTypes13))
       swigDelegate13 = new SwigDelegateIAudioDecoder_13(SwigDirectorgetCurrentPosition);
     if (SwigDerivedClassHasMethod("getCurrentCompressedPosition", swigMethodTypes14))
       swigDelegate14 = new SwigDelegateIAudioDecoder_14(SwigDirectorgetCurrentCompressedPosition);
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes15))
       swigDelegate15 = new SwigDelegateIAudioDecoder_15(SwigDirectorgetType);
     cAudioCSharpWrapperPINVOKE.IAudioDecoder_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15);
 }