Class SetVolume.Builder

    • Method Detail

      • getSource

        public String getSource()
        Source name.
      • setSource

        public void setSource​(String source)
        Source name.
      • getVolume

        public double getVolume()
        Desired volume. Must be between `0.0` and `20.0` for mul, and under 26.0 for dB. OBS will interpret dB values under -100.0 as Inf. Note: The OBS volume sliders only reach a maximum of 1.0mul/0.0dB, however OBS actually supports larger values.
      • setVolume

        public void setVolume​(double volume)
        Desired volume. Must be between `0.0` and `20.0` for mul, and under 26.0 for dB. OBS will interpret dB values under -100.0 as Inf. Note: The OBS volume sliders only reach a maximum of 1.0mul/0.0dB, however OBS actually supports larger values.
      • isUseDecibel

        public Optional<Boolean> isUseDecibel()
        Interperet `volume` data as decibels instead of amplitude/mul.
      • setUseDecibel

        public void setUseDecibel​(boolean useDecibel)
        Interperet `volume` data as decibels instead of amplitude/mul.
      • batchMessage

        public SetVolume.Request batchMessage()
        Batch the message to the OBS Studio instance.