/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.21
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


Class name: CGestalt extends: SwigProxy fields: swigCPtrForCGestalt, swigCMemoryOwn {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    swigCMemoryOwn := newCMemoryOwn.
    swigCPtrForCGestalt := newCPtr.
  ]

  Method [ getCPtrForCGestalt
    ^swigCPtrForCGestalt
  ]


  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForCGestalt ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      CslNI cslNI_delete_CGestalt: swigCPtrForCGestalt.
    ].
    swigCPtrForCGestalt := 0.
  ]

  Function[ getCPtr: obj
     obj isNil ifTrue:[^0].
     ^obj getCPtrForCGestalt
  ]

  Function [ frameRate 
    ^CslNI cslNI_CGestalt_frameRate
  ]

  Function [ setFrameRate: frameRate 
    CslNI cslNI_CGestalt_setFrameRate: frameRate
  ]

  Function [ numInChannels 
    ^CslNI cslNI_CGestalt_numInChannels
  ]

  Function [ setNumInChannels: numChannels 
    CslNI cslNI_CGestalt_setNumInChannels: numChannels
  ]

  Function [ numOutChannels 
    ^CslNI cslNI_CGestalt_numOutChannels
  ]

  Function [ setNumOutChannels: numChannels 
    CslNI cslNI_CGestalt_setNumOutChannels: numChannels
  ]

  Function [ maxBufferFrames 
    ^CslNI cslNI_CGestalt_maxBufferFrames
  ]

  Function [ setMaxBufferFrames: numFrames 
    CslNI cslNI_CGestalt_setMaxBufferFrames: numFrames
  ]

  Function [ blockSize 
    ^CslNI cslNI_CGestalt_blockSize
  ]

  Function [ setBlockSize: blockSize 
    CslNI cslNI_CGestalt_setBlockSize: blockSize
  ]

  Function [ verbosity 
    ^CslNI cslNI_CGestalt_verbosity
  ]

  Function [ setVerbosity: verbosity 
    CslNI cslNI_CGestalt_setVerbosity: verbosity
  ]

  Function [ loggingPeriod 
    ^CslNI cslNI_CGestalt_loggingPeriod
  ]

  Function [ setLoggingPeriod: loggingPeriod 
    CslNI cslNI_CGestalt_setLoggingPeriod: loggingPeriod
  ]

  Function [ outPort 
    ^CslNI cslNI_CGestalt_outPort
  ]

  Function [ setOutPort: outPort 
    CslNI cslNI_CGestalt_setOutPort: outPort
  ]

  Function [ new
    ^self fromPointer: (CslNI cslNI_new_CGestalt) memoryOwn: true
  ]

}
