hyperion.ng/libsrc/grabber/osx/OsxWrapper.cpp
2018-12-27 23:11:32 +01:00

12 lines
354 B
C++

#include <grabber/OsxWrapper.h>
OsxWrapper::OsxWrapper(const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz)
: GrabberWrapper("OSX FrameGrabber", &_grabber, grabWidth, grabHeight, updateRate_Hz)
, _grabber(display, grabWidth, grabHeight)
{}
void OsxWrapper::action()
{
transferFrame(_grabber);
}