Library for Skeleton of SD card player. SD カードプレーヤのための骨組みとして使うためのライブラリ.このライブラリを登録した際のプログラム:「F746_SD_Player_Demo」
Dependencies: SDFileSystem_Warning_Fixed
Dependents: F746_SD_Player_Demo F746_SD_VarableFilter F746_SD_GraphicEqualizer F746_MySoundMachine ... more
Diff: SD_PlayerSkeleton.hpp
- Revision:
- 16:299cc1052baa
- Parent:
- 15:4ac0f4715454
- Child:
- 17:abfd6af9a236
diff -r 4ac0f4715454 -r 299cc1052baa SD_PlayerSkeleton.hpp --- a/SD_PlayerSkeleton.hpp Mon Mar 20 14:06:47 2017 +0000 +++ b/SD_PlayerSkeleton.hpp Wed Mar 22 09:20:13 2017 +0000 @@ -1,7 +1,7 @@ //-------------------------------------------------------------- // SD プレーヤー用抽象基底クラス(ヘッダ) // -// 2017/03/20, Copyright (c) 2016 MIKAMI, Naoki +// 2017/03/21, Copyright (c) 2016 MIKAMI, Naoki //-------------------------------------------------------------- #ifndef F746_SD_PLAYER_SKELETON_HPP @@ -20,7 +20,7 @@ { public: // リセット・ボタンを使う場合は resetButton を true とする - SD_PlayerSkeleton(string str, int fs, bool resetButton = false); + SD_PlayerSkeleton(string str, bool resetButton = false); virtual ~SD_PlayerSkeleton() { if (reset_ != NULL) delete reset_; } // SD プレーヤーの処理の実行 void Execute(); @@ -31,8 +31,8 @@ static const uint16_t BG_WIDTH_ = 66; static const uint16_t BG_HEIGHT_ = 36; - const int32_t FRAME_SIZE_; // フレームバッファのサイズ - Array<int16_t> sn_; // フレームバッファ + const int32_t BUFF_SIZE_; // バッファのサイズ + Array<int16_t> sn_; // バッファ SaiIO mySai_; SD_WavReader sdReader_; // SD カード読み込み用オブジェクト @@ -66,7 +66,7 @@ //------------------------------------- // 以下は仮想関数 //------------------------------------- - // 1フレーム分の信号処理 + // 1ブロック分の信号処理 virtual void SignalProcessing() = 0; // 信号処理のパラメータ変更など virtual void Modefy() {}