openFrameworks
openFrameworks copied to clipboard
ofVideoGrabber listDevices, returning and printing
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
those doesn't return and print using ofLogNotice()
void ofAppGLFWWindow::listVideoModes(); void ofAppGLFWWindow::listMonitors();