mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-21 17:30:49 +00:00
add docstrings
This commit is contained in:
parent
650800a18f
commit
f60b7d6622
@ -5,6 +5,7 @@ require_relative "errors"
|
|||||||
module Voicemeeter
|
module Voicemeeter
|
||||||
module Vban
|
module Vban
|
||||||
class VbanStream
|
class VbanStream
|
||||||
|
# Base class for Vban Stream types
|
||||||
include IRemote
|
include IRemote
|
||||||
|
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
@ -24,6 +25,7 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
class VbanInstream < VbanStream
|
class VbanInstream < VbanStream
|
||||||
|
# Represents a Vban InStream
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
super
|
super
|
||||||
make_reader_int :sr, :channel, :bit
|
make_reader_int :sr, :channel, :bit
|
||||||
@ -35,6 +37,7 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
class VbanOutstream < VbanStream
|
class VbanOutstream < VbanStream
|
||||||
|
# Represents a Vban OutStream
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
super
|
super
|
||||||
make_accessor_int :sr, :channel, :bit
|
make_accessor_int :sr, :channel, :bit
|
||||||
|
Loading…
Reference in New Issue
Block a user