瀏覽代碼

cmMidiScoreFollow.c : Replace use of cmFsMakeUerFn() with cmFsMakeUserDirFn() in cmMidiScoreFollowMain().

master
kevin 8 年之前
父節點
當前提交
a0f1db3f3a
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7
    7
      app/cmMidiScoreFollow.c

+ 7
- 7
app/cmMidiScoreFollow.c 查看文件

@@ -150,13 +150,13 @@ void _cmMsf_ScoreFollowCb( struct cmScMatcher_str* p, void* arg, cmScMatcherResu
150 150
 cmMsfRC_t cmMidiScoreFollowMain( cmCtx_t* ctx )
151 151
 {
152 152
   cmMsfRC_t             rc          = kOkMsfRC;
153
-  //const cmChar_t* scoreFn         = cmFsMakeUserFn("src/kc/src/kc/data","mod2e","csv",NULL);
154
-  const cmChar_t*          scoreFn  = cmFsMakeUserFn("temp","a7","csv",NULL);
155
-  const cmChar_t*          midiFn   = cmFsMakeUserFn("media/projects/imag_themes/scores/gen","round1-utf8_11","mid",NULL);
156
-  const cmChar_t*          outFn    = cmFsMakeUserFn("temp","match","txt",NULL);
157
-  const cmChar_t*          svgFn    = cmFsMakeUserFn("temp","score0","html",NULL);
158
-  const cmChar_t*          newMidiFn= cmFsMakeUserFn("temp","a7","mid",NULL);
159
-  const cmChar_t*          tlBarFn  = cmFsMakeUserFn("temp","time_line_temp","txt",NULL);
153
+  //const cmChar_t* scoreFn         = cmFsMakeUserDirFn("src/kc/src/kc/data","mod2e.csv");
154
+  const cmChar_t*          scoreFn  = cmFsMakeUserDirFn("temp","a7.csv");
155
+  const cmChar_t*          midiFn   = cmFsMakeUserDirFn("media/projects/imag_themes/scores/gen","round1-utf8_11.mid");
156
+  const cmChar_t*          outFn    = cmFsMakeUserDirFn("temp","match.txt");
157
+  const cmChar_t*          svgFn    = cmFsMakeUserDirFn("temp","score0.html");
158
+  const cmChar_t*          newMidiFn= cmFsMakeUserDirFn("temp","a7.mid");
159
+  const cmChar_t*          tlBarFn  = cmFsMakeUserDirFn("temp","time_line_temp.txt");
160 160
   
161 161
   double                   srate    = 96000.0;
162 162
   cmScMatcher*             smp      = NULL;  

Loading…
取消
儲存