fixes BusDevice macro functions

This commit is contained in:
onyx-and-iris 2023-08-30 12:45:55 +01:00
parent cfeb3a7263
commit f4c3a920b6

View File

@ -112,12 +112,11 @@ module Voicemeeter
class BusDevice class BusDevice
include IRemote include IRemote
extend MetaFunctions
def initialize(remote, i) attr_reader_int :sr
super attr_reader_string :name
make_reader_only :name, :sr attr_writer_string :wdm, :ks, :mme, :asio
make_writer_only :wdm, :ks, :mme, :asio
end
def identifier def identifier
"bus[#{@index}].device" "bus[#{@index}].device"