boting ren / Mbed 2 deprecated F746_SD_GraphicEqualizer_ren0620

Dependencies:   BSP_DISCO_F746NG F746_GUI F746_SAI_IO FrequencyResponseDrawer LCD_DISCO_F746NG SDFileSystem_Warning_Fixed TS_DISCO_F746NG mbed

Fork of F746_SD_GraphicEqualizer by 不韋 呂

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Mon May 09 13:48:33 2016 +0000
Parent:
8:12aa05f3cc24
Child:
10:fc6367c2ffcf
Commit message:
10

Changed in this revision

F746_SAI_IO.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/F746_SAI_IO.lib	Mon May 09 08:54:09 2016 +0000
+++ b/F746_SAI_IO.lib	Mon May 09 13:48:33 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/MikamiUitOpen/code/F746_SAI_IO/#48ed86c8430a
+http://mbed.org/users/MikamiUitOpen/code/F746_SAI_IO/#1aef7b703249
--- a/main.cpp	Mon May 09 08:54:09 2016 +0000
+++ b/main.cpp	Mon May 09 13:48:33 2016 +0000
@@ -127,7 +127,7 @@
             {
                 menu.Inactivate(2); // PAUSE 無効
                 menu.Activate(3);   // RESUME 有効
-                mySai.Pause();
+                mySai.PauseOut();
 
                 // PLAY か RESUME か STOP がタッチされるまで待つ
                 int touch134 = -1;
@@ -135,14 +135,14 @@
                     ModifyFilter(drawerObj, myBars, hn, flat, onOff, on);
                 switch (touch134)
                 {
-                    case 1: playOk = true;  // 最初から PLAY
+                    case 1: playOk = true;      // 最初から PLAY
                             break;
-                    case 3: mySai.Resume(); // PAUSE したところから PLAY 再開
+                    case 3: mySai.ResumeOut();  // PAUSE したところから PLAY 再開
                             menu.Activate(2);
                             menu.Inactivate(3);
                             menu.TouchedColor(1);
                             break;
-                    case 4: stopOk = true;  // STOP
+                    case 4: stopOk = true;      // STOP
                             break;
                 }
             }
@@ -152,7 +152,7 @@
             // 1フレーム分の信号処理 (イコライザ) の実行
             SignalProcessing(sdReader, mySai, sn, hn, STAGES, on);
         }
-        mySai.Stop();
+        mySai.StopOut();
         menu.Activate(0);               // OPEN 有効
         if (!playOk) menu.Activate(1);  // PLAY 有効
         for (int n=2; n<5; n++)         // その他は無効