obs-studio/libobs
jp9000 5cd64ce7f2 libobs: Add level/magnitude/peak volume levels
This replaces the older code which simply queried the max volume level
value for any given audio.

I'm still not 100% sure on if this is how I want to approach the
problem, particularly, whether this should be done in obs_source or in
audio_line, but it can always be moved later if needed.

This uses the calculations by the awesome Bill Hamilton that OBS1 used
for its volume levels.  It calculates the current max (level),
magnitude, and current peak.  This data then can be used to create
awesome volume meter controls later on.

NOTE: Will probably need optimization, does one float at a time right
now.

Also, change some of the naming conventions.  I actually need to change
a lot of the naming conventions in general so that all words are
separated by underscores.  Kind of a bad practice there on my part.
2014-06-03 04:48:20 -07:00
..
callback libobs: Fix signal handler lock bug 2014-06-03 04:41:12 -07:00
graphics Graphics: Comment out parsed shader logging 2014-05-18 17:37:30 -07:00
media-io Added simple volume meter. Updated per comments Pull Req #90 2014-05-24 16:42:54 -07:00
util Merge pull request #87 from fryshorts/fixes 2014-05-18 18:47:35 -07:00
CMakeLists.txt libobs/util: Remove dup. code, add os_opendir 2014-05-14 17:44:32 -07:00
LibObsConfig.cmake.in Also export a plugin destination, so external plugins know where to install stuff 2014-05-08 14:43:16 +02:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-avc.c obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-avc.h obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-cocoa.c Rename obs-data.h to obs-internal.h 2014-01-26 18:48:14 -07:00
obs-config.h Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-data.c Fix obs_data_item_set for number types 2014-05-10 03:38:33 +02:00
obs-data.h Fix a few warnings 2014-04-28 00:15:26 -07:00
obs-defs.h UI: Add popup warnings for connection failure 2014-05-12 15:34:46 -07:00
obs-display.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-encoder.c obs-studio UI: Implement stream settings UI 2014-04-24 02:19:03 -07:00
obs-encoder.h Fix issue when using multiple video encoders 2014-04-10 11:59:42 -07:00
obs-internal.h libobs: Add level/magnitude/peak volume levels 2014-06-03 04:48:20 -07:00
obs-module.c obs-studio UI: Implement stream settings UI 2014-04-24 02:19:03 -07:00
obs-module.h Well, that was embarassing. (Remove size macro) 2014-04-05 01:49:21 -07:00
obs-nix.c Add more checks for NULL pointers 2014-02-23 22:39:33 -07:00
obs-output.c Remove output from encoder when output is destroyed. 2014-05-16 20:32:30 +02:00
obs-output.h Remove the weird size stuff from OBS_DECLARE_MODULE 2014-04-05 01:45:53 -07:00
obs-properties.c obs-properties: Add a few features 2014-04-19 20:29:11 -07:00
obs-properties.h obs-properties: Add a few features 2014-04-19 20:29:11 -07:00
obs-scene.c Add ability to move source up/down/etc 2014-05-15 17:40:53 -07:00
obs-scene.h Use atomic functions where appropriate 2014-03-16 18:26:46 -07:00
obs-service.c obs-studio UI: Implement stream settings UI 2014-04-24 02:19:03 -07:00
obs-service.h obs-studio UI: Implement stream settings UI 2014-04-24 02:19:03 -07:00
obs-source.c libobs: Add level/magnitude/peak volume levels 2014-06-03 04:48:20 -07:00
obs-source.h Fix an issue with async (video) source destruction 2014-05-04 21:02:01 +02:00
obs-ui.h Revamp API and start using doxygen 2014-02-12 08:04:50 -07:00
obs-video.c libobs: Add services API, reduce repeated code 2014-04-19 20:38:53 -07:00
obs-view.c Activate user-selected audio devices 2014-03-07 17:03:34 -07:00
obs-windows.c Implement some basic logging for windows 2014-04-14 04:02:11 -07:00
obs.c libobs: Add level/magnitude/peak volume levels 2014-06-03 04:48:20 -07:00
obs.h Added simple volume meter for reference of input levels. 2014-05-20 09:26:18 -05:00
obs.hpp Add source properties window (very preliminary) 2014-03-23 01:07:54 -07:00
obsconfig.h.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00