Class: FluidSynth::FluidSfloaderT

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/ffi-fluidsynth.rb

Overview

< Synthesis voice instance

Fields:

:data

(FFI::Pointer(*Void)) < User defined data pointer

:free

(FFI::Pointer(*)) The free method should free the memory allocated for the loader in addition to any private data. @param loader SoundFont loader @return Should return 0 if no error occured, non-zero otherwise

:load

(FFI::Pointer(*)) Method to load an instrument file (does not actually need to be a real file name, could be another type of string identifier that the a loader understands). @param loader SoundFont loader @param filename File name or other string identifier @return The loaded instrument file (SoundFont) or NULL if an error occured.