hyperion.ng/libsrc/grabber/osx/OsxWrapper.cpp
2020-12-29 09:45:41 +01:00

12 lines
317 B
C++

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