struct Obsctl::Domain::VolumeCommand

Overview

Sets user-facing volume percentage for an OBS audio input.

Defined in:

obsctl/domain/command.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Obsctl::Domain::Command

initialize initialize, ipc_name : String | Nil ipc_name, percent : Int32 | Nil percent, target : String | Nil target

Constructor methods inherited from struct Obsctl::Domain::Command

new new

Constructor Detail

def self.new(target : String, percent : Int32) #

[View source]

Instance Method Detail

def ipc_name : String | Nil #
Description copied from struct Obsctl::Domain::Command

IPC command name, or nil for commands resolved entirely client-side.


[View source]
def percent : Int32 #
Description copied from struct Obsctl::Domain::Command

Payload percentage, for commands that carry a level.


[View source]
def target : String #
Description copied from struct Obsctl::Domain::Command

Payload target, for commands that address a named OBS resource.


[View source]