Module: Voicemeeter::CBindings

Extended by:
FFI::Library, InstallationFunctions
Included in:
RunVM
Defined in:
lib/voicemeeter/cbindings.rb

Instance Method Summary collapse

Instance Method Details

#clear_pollingObject



127
128
129
# File 'lib/voicemeeter/cbindings.rb', line 127

def clear_polling =
while pdirty? || mdirty?
end

#ldirty?Boolean

Returns:

  • (Boolean)


135
136
137
138
139
140
141
142
# File 'lib/voicemeeter/cbindings.rb', line 135

def ldirty?
  @strip_buf, @bus_buf = _get_levels
  return(
    !(
      @cache["strip_level"] == @strip_buf && @cache["bus_level"] == @bus_buf
    )
  )
end

#mdirty?Boolean

Returns:

  • (Boolean)


133
# File 'lib/voicemeeter/cbindings.rb', line 133

def mdirty? = vm_mdirty&.nonzero?

#pdirty?Boolean

Returns:

  • (Boolean)


131
# File 'lib/voicemeeter/cbindings.rb', line 131

def pdirty? = vm_pdirty&.nonzero?