SAI_IO class for using CODEC (MW8994) as analog input and output. このライブラリを登録した際のプログラム:「F746_AudioIO_Demo」

Dependencies:   Array_Matrix

Dependents:   F746_SD_WavPlayer F746_SD_GraphicEqualizer_ren0620 Joerg_turbo_ede CW_Decoder_using_FFT_on_DiscoF746NG ... more

Revision:
9:25a9655d6a0e
Parent:
5:20cc265d7aec
Child:
10:eb439bbba0f2
--- a/SAI_InOut.hpp	Fri Nov 04 09:20:08 2016 +0000
+++ b/SAI_InOut.hpp	Mon Jan 23 13:35:07 2017 +0000
@@ -1,6 +1,6 @@
 //-----------------------------------------------------------
-//  SiaIO class (Header)
-//  2016/07/23, Copyright (c) 2016 MIKAMI, Naoki
+//  SaiIO class (Header)
+//  2017/01/23, Copyright (c) 2017 MIKAMI, Naoki
 //-----------------------------------------------------------
 
 #ifndef F746_SAI_IO_HPP
@@ -36,7 +36,6 @@
         void SwitchInputDevice(int sw);
 
         bool IsCaptured();
-        void ResetCaptured() { captured_ = false; }
         // Input using SAI
         void Input(int16_t &xL, int16_t &xR)
         {   (this->*InputFp)(xL, xR); }
@@ -47,7 +46,6 @@
 
         void PlayOut();
         bool IsXferred();
-        void ResetXferred() { xferred_ = false; }
         // Output using SAI
         void Output(int16_t xL, int16_t xR);
       
@@ -59,8 +57,6 @@
         // you can use following two functions.
         bool IsCompleted()
         {   return IsCaptured() && IsXferred(); }
-        void Reset()
-        {   captured_ = false; xferred_ = false; }
 
         // Following two member functions are called from
         // callback functions in "BSP_AudioIn_Overwrite.cpp"