openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ofVideoGrabber listDevices, returning and printing

Open dimitre opened this issue 3 years ago • 1 comments

I think it should have separate functions for returning a list of devices and printing one. or a optional parameter. And what the function do should be uniform with what ofSerial does too. Now it works this way:

ofVideoGrabber::listDevices() Print to the console the list of devices and return the list of devices

void ofSerial::listDevices() Only print to the console the list of devices

ofSerial::getDeviceList() Actually returns a list of devices

ofSoundStreamListDevices returns a list and output to the consolole

dimitre avatar Jan 26 '22 11:01 dimitre

those doesn't return and print using ofLogNotice()

void ofAppGLFWWindow::listVideoModes(); void ofAppGLFWWindow::listMonitors();

dimitre avatar May 03 '22 22:05 dimitre