Class: OBS::WebSocket::Protocol::Events::SourceVolumeChanged
- Inherits:
-
OBS::WebSocket::Protocol::Event
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Event
- OBS::WebSocket::Protocol::Events::SourceVolumeChanged
- Defined in:
- lib/obs/websocket/protocol.rb
Instance Attribute Summary collapse
-
#source_name ⇒ String
readonly
sourceNamefield. -
#volume ⇒ Float
readonly
volumefield. -
#volume_db ⇒ Float
readonly
volumeDbfield.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Event
create, #initialize, json_name, #rec_timecode, #stream_timecode, #to_h, #update_type
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Event
Instance Attribute Details
#source_name ⇒ String (readonly)
Returns sourceName field.
381 |
# File 'lib/obs/websocket/protocol.rb', line 381 def source_name; get_field("sourceName", Types::String); end |
#volume ⇒ Float (readonly)
Returns volume field.
384 |
# File 'lib/obs/websocket/protocol.rb', line 384 def volume; get_field("volume", Types::Float); end |
#volume_db ⇒ Float (readonly)
Returns volumeDb field.
387 |
# File 'lib/obs/websocket/protocol.rb', line 387 def volume_db; get_field("volumeDb", Types::Float); end |