1. 05 12月, 2014 1 次提交
    • F
      libobs: Add volume meter object · 46686ec5
      fryshorts 提交于
      This adds a volume meter object to libobs that can be used by the GUI
      or plugins to convert the raw audio level data from sources to values
      that can easily be used to display the audio data.
      The volume meter object will use the same mapping functions as the
      fader object to map dB levels to a scale.
      46686ec5
  2. 28 11月, 2014 1 次提交
    • J
      libobs: Fix microsoft compiler issue · 346bcd7e
      jp9000 提交于
      In older versions of visual studio 2013 microsoft's WORTHLESS C compiler
      has a bug where it will, almost at random, not be able to handle having
      variables declared in the middle of a function and give the warning:
      "illegal use of this type as an expression".  It was fixed in recent
      VS2013 updates, but I'm not about to force everyone to update to it.
      346bcd7e
  3. 27 11月, 2014 3 次提交
    • J
      libobs: Fix double -> float conversion warning · 8922f250
      jp9000 提交于
      8922f250
    • J
      libobs: Fix windows warnings with C library macro · e3e79dcd
      jp9000 提交于
      The macro INFINITY apparently will trigger a warning with microsoft's
      compiler despite being a C standard library macro.
      e3e79dcd
    • F
      libobs: Add audio control functions · 8dcbd77b
      fryshorts 提交于
      This adds a new library of audio control functions mainly for the use in
      GUIS. For now it includes an implementation of a software fader that can
      be attached to sources in order to easily control the volume.
      The fader can translate between fader-position, volume in dB and
      multiplier with a configurable mapping function.
      Currently only a cubic mapping (mul = fader_pos ^ 3) is included, but
      different mappings can easily be added.
      
      Due to libobs saving/restoring the source volume from the multiplier,
      the volume levels for existing source will stay the same, and live
      changing of the mapping will work without changing the source volume.
      8dcbd77b