Final version.
Fork of F746_SAI_IO by
Diff: SAI_InOut.hpp
- 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"