Skip to content

Commit

Permalink
readme change, 60 fps cap
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemcdonald committed Mar 24, 2015
1 parent 844bbdd commit f2fa0c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file not shown.
1 change: 1 addition & 0 deletions example/src/testApp.cpp
@@ -1,6 +1,7 @@
#include "testApp.h"

void testApp::setup() {
ofSetFrameRate(60);
ofSetVerticalSync(true);
bIsRecordingMovie = false;
camera.setup();
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Expand Up @@ -13,8 +13,9 @@ ofxEdsdk was developed with support from YCAM http://www.ycam.jp/
6. Copy the EDSDK folder into this directory: OF > addons > ofEdsdk > src
7. Open the OF Project Generator application and build a new app, including the ofxEdsdk addon.
8. Open your new app in Xcode. Go into the Build Settings for the Target app. In the "Search Paths" section, double-click "Header Search Paths."
9. You should see something like "../../../addons/ofxEdsdk/src" as one of the paths in the list. To the right of that path, click the drop-down menu and select "recursive."
9. You should see `../../../addons/ofxEdsdk/src` as one of the paths in the list. To the right of that path, click the drop-down menu and select "recursive."
10. Go into the "Build Phases" tab for the Target app. In the "Link Binary with Libraries" section, add the EDSDK frameworks by clicking the "+" button at the lower-left and selecting the two framework files: OF > addons > ofEdsdk > src > EDSDK > Framework
11. Under "Framework Search Paths" add `../../../addons/ofxEdsdk/lib/EDSDK/Framework`.

Following these steps will include Canon's developer library and this wrapper for all its functions for use in OF. You should be able to run the blank project successfully.

Expand Down
2 changes: 1 addition & 1 deletion src/ofxEdsdk.cpp
Expand Up @@ -446,7 +446,7 @@ namespace ofxEdsdk {
#endif
while(isThreadRunning()) {
captureLoop();
ofSleepMillis(1);
ofSleepMillis(5);
}
#if defined(TARGET_WIN32)
CoUninitialize();
Expand Down

0 comments on commit f2fa0c4

Please sign in to comment.