class Sound::DeviceLibrary::MMLib::Handle

Public Class Methods

new() click to toggle source
# File lib/sound/device_library/mmlib.rb, line 10
def initialize
  @handle = FFI::MemoryPointer.new(:pointer)
end

Public Instance Methods

id() click to toggle source
# File lib/sound/device_library/mmlib.rb, line 16
def id
  @handle.read_int
end
pointer() click to toggle source
# File lib/sound/device_library/mmlib.rb, line 13
def pointer
  @handle
end