Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.65 KB

File metadata and controls

45 lines (36 loc) · 1.65 KB

Implemented API functions

Within the module CsoundAPIRuby::Lib::Functions:

instantiation functions

  • csoundCreate, [:pointer], :pointer
  • csoundCompile, [:pointer, :int, :pointer], :int
  • csoundCompileArgs, [:pointer, :int, :pointer], :int
  • csoundCompileCsd, [:pointer, :pointer], :int
  • csoundCompileOrc, [:pointer, :pointer], :int
  • csoundGetVersion, [], :int
  • csoundGetAPIVersion, [], :int

perform functions

  • csoundPerformKsmps, [:pointer], :int
  • csoundPerform, [:pointer], :int
  • csoundPerformBuffer, [:pointer], :int
  • csoundStart, [:pointer], :int
  • csoundStop, [:pointer], :void

cleanup functions

  • csoundCleanup, [:pointer], :void
  • csoundDestroy, [:pointer], :void
  • csoundReset, [:pointer], :void

attribute functions

  • csoundGetSr, [:pointer], :double
  • csoundGetKr, [:pointer], :double
  • csoundGetKsmps, [:pointer], :uint32
  • csoundGetNchnls, [:pointer], :uint32
  • csoundGetNchnlsInput, [:pointer], :uint32
  • csoundGet0dBFS, [:pointer], :double
  • csoundGetCurrentTimeSamples, [:pointer], :int64
  • csoundGetSizeOfMYFLT, [:pointer], :int
  • csoundGetHostData, [:pointer], :pointer
  • csoundSetHostData, [:pointer, :pointer], :void
  • csoundSetOption, [:pointer, :pointer], :int
  • csoundGetDebug, [:pointer], :int
  • csoundSetDebug, [:pointer, :int], :void
  • csoundSetParams, [:pointer, CsoundAPIRuby::Lib::Data::CsoundParams.by_ref], :void
  • csoundGetParams, [:pointer, CsoundAPIRuby::Lib::Data::CsoundParams.by_ref], :void