Commit graph

16 commits

Author SHA1 Message Date
Zakk
c5bbb1b48a Convert all compressors to use a producer/consumer thread model (VTCompressionSessions sometimes block!)
When restoring an NDI source, asynchronously wait for the stored source name to appear on the network; the underlying framework doesn't populate the available list immediately on program start.
Don't double-restore live layout on launch.
If a input is designated as 'allowDedup' do not cache it unless the user explicitly checks the cache setting to on
2020-04-07 18:26:13 -04:00
Zakk
51e4356993 Initial work on clean/modernization of the audio engine.
Audio Graph now keeps track of connections via connection objects.
Connecting nodes now requires an AudioFormat, and the format is set on both ends of the connection. No more explicit setting of stream formats.
CAMultAudioPCM is now based on AVAudioPCMBuffer
Most instances of AudioStreamBasicDescription are replaced with AVAudioFormat
2020-02-21 08:55:40 -05:00
Zakk
03a29ada0b Use non-versioned NDI call for the 'finder' object to prevent crash with newer NDI lib 2019-07-10 04:19:40 -04:00
Zakk
fe99869347 Update settings files for localization changes Xcode was complaining about.
When restoring audio engine, don't re-attach the default output track
2019-06-06 05:54:15 -04:00
Zakk
2fc3a35ff3 Create PreviewLayer's CVDisplayLink by using the main display, not 'all displays'.
Improve the feel of Desktop Capture's crop overlay window. (Don't implement resizing and moving manually, let system do them)
Desktop capture no longer destroys+recreates the display stream multiple times when the cropping region is changed.
Desktop capture 'reset crop region' button now works...
Fixed some warnings.
2019-01-02 03:43:48 -05:00
Zakk
317157c7c5 Adjust NDI dlopen() path to assume the library is installed in /usr/local/lib. Hardened executables don't use DYLD_FALLBACK_PATH 2018-10-26 21:50:02 -04:00
Zakk
62649f0e26 Change some plugin deployment targets so they work on 10.10
Only set NSApp.appearance on 10.14
Bump version to 2.1.5
2018-10-13 04:51:35 -04:00
Zakk
1eb3c3ea36 Removed some NSLogs 2018-08-12 13:57:32 -04:00
Zakk
8356837252 Adjusted scale of audio meters, better conversion from dB->linear.
Added multi channel support to audio meters, limited to two channels for now
2018-04-22 16:21:26 -04:00
Zakk
497470dcf1 Changed attach audio input creation/pcm player so that Capture plugins no longer need to care if they are live or not. Just create the PCM input whenever you want and it will Do The Right Thing.
Added a capture plugin API that creates an attached audio input AND a pcm audio input simultaneously.
2018-04-15 00:02:35 -04:00
Zakk
db113d6d7e Fixed some warnings 2018-04-14 05:17:11 -04:00
Zakk
dd9b89c258 Update project settings for new Xcode.
added dummyAnimation function to animation input wrapper.
slightly reworked how input.waitAnimation() works; the previous implementation possibly messed with other input timings.
converted input transitions to use input specific waits and dummy animations. This allows scripts/other transitions to run simultaneously
2018-03-31 08:14:13 -04:00
Zakk
4d7e296a8e Sources now use restore/saveWithCoder instead of init/encodeWithCoder. This allows restoring to be a bit smarter about cached sources, replacing them transparently at restore time.
Old style initWithCoder is still functional, just not as cache friendly.
If the capture "device" is changed in the input config window the capture object may be swapped out for a different one depending on caching/flags.
2018-02-03 23:56:32 -05:00
Zakk
dbaf43ae59 PCM player lifecycles are now managed with less involvement from the capture source.
Inputs can now request an attached audio input be created, this audio input shows up as a sub-input of the main video input, and is deleted when the video is
2018-01-25 03:57:02 -05:00
Zakk
dfa4e76244 Convert source item outline view to use a data source instead of bound NSTreeController (was causing weird memory leaks..????)
Actually bounce the NDIReceiver audio delegate call through the requested queue
Fixed drag and drop reorder bug with source lists that was preventing a source from being placed at the bottom
2018-01-23 01:02:31 -05:00
Zakk
17c59b7fc8 Added NewTek NDI source. Requires the user to install the NewTek NDI runtime library 2018-01-20 04:35:06 -05:00