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
include IRemote
extend MetaFunctions
def initialize(remote, i)
super
make_reader_only :name, :sr
make_writer_only :wdm, :ks, :mme, :asio
end
attr_reader_int :sr
attr_reader_string :name
attr_writer_string :wdm, :ks, :mme, :asio
def identifier
"bus[#{@index}].device"