Audio singal input and output example for DISCO-F746. Input: MEMS mic, Output: CN10 OUT, Acoustic effect: echo and frequency shift. DISCO-F746 によるオーディオ信号入出力.入力:MEMS マイク,出力:CN10 OUT,音響効果:エコー,周波数変換.
Dependencies: F746_GUI F746_SAI_IO
mbed_src_STM32F7/api/FilePath.h@6:38f7dce055d0, 2016-10-02 (annotated)
- Committer:
- MikamiUitOpen
- Date:
- Sun Oct 02 10:44:58 2016 +0000
- Revision:
- 6:38f7dce055d0
7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MikamiUitOpen | 6:38f7dce055d0 | 1 | /* mbed Microcontroller Library |
MikamiUitOpen | 6:38f7dce055d0 | 2 | * Copyright (c) 2006-2013 ARM Limited |
MikamiUitOpen | 6:38f7dce055d0 | 3 | * |
MikamiUitOpen | 6:38f7dce055d0 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
MikamiUitOpen | 6:38f7dce055d0 | 5 | * you may not use this file except in compliance with the License. |
MikamiUitOpen | 6:38f7dce055d0 | 6 | * You may obtain a copy of the License at |
MikamiUitOpen | 6:38f7dce055d0 | 7 | * |
MikamiUitOpen | 6:38f7dce055d0 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
MikamiUitOpen | 6:38f7dce055d0 | 9 | * |
MikamiUitOpen | 6:38f7dce055d0 | 10 | * Unless required by applicable law or agreed to in writing, software |
MikamiUitOpen | 6:38f7dce055d0 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
MikamiUitOpen | 6:38f7dce055d0 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MikamiUitOpen | 6:38f7dce055d0 | 13 | * See the License for the specific language governing permissions and |
MikamiUitOpen | 6:38f7dce055d0 | 14 | * limitations under the License. |
MikamiUitOpen | 6:38f7dce055d0 | 15 | */ |
MikamiUitOpen | 6:38f7dce055d0 | 16 | #ifndef MBED_FILEPATH_H |
MikamiUitOpen | 6:38f7dce055d0 | 17 | #define MBED_FILEPATH_H |
MikamiUitOpen | 6:38f7dce055d0 | 18 | |
MikamiUitOpen | 6:38f7dce055d0 | 19 | #include "platform.h" |
MikamiUitOpen | 6:38f7dce055d0 | 20 | |
MikamiUitOpen | 6:38f7dce055d0 | 21 | #include "FileSystemLike.h" |
MikamiUitOpen | 6:38f7dce055d0 | 22 | #include "FileLike.h" |
MikamiUitOpen | 6:38f7dce055d0 | 23 | |
MikamiUitOpen | 6:38f7dce055d0 | 24 | namespace mbed { |
MikamiUitOpen | 6:38f7dce055d0 | 25 | |
MikamiUitOpen | 6:38f7dce055d0 | 26 | class FilePath { |
MikamiUitOpen | 6:38f7dce055d0 | 27 | public: |
MikamiUitOpen | 6:38f7dce055d0 | 28 | FilePath(const char* file_path); |
MikamiUitOpen | 6:38f7dce055d0 | 29 | |
MikamiUitOpen | 6:38f7dce055d0 | 30 | const char* fileName(void); |
MikamiUitOpen | 6:38f7dce055d0 | 31 | |
MikamiUitOpen | 6:38f7dce055d0 | 32 | bool isFileSystem(void); |
MikamiUitOpen | 6:38f7dce055d0 | 33 | FileSystemLike* fileSystem(void); |
MikamiUitOpen | 6:38f7dce055d0 | 34 | |
MikamiUitOpen | 6:38f7dce055d0 | 35 | bool isFile(void); |
MikamiUitOpen | 6:38f7dce055d0 | 36 | FileLike* file(void); |
MikamiUitOpen | 6:38f7dce055d0 | 37 | bool exists(void); |
MikamiUitOpen | 6:38f7dce055d0 | 38 | |
MikamiUitOpen | 6:38f7dce055d0 | 39 | private: |
MikamiUitOpen | 6:38f7dce055d0 | 40 | const char* file_name; |
MikamiUitOpen | 6:38f7dce055d0 | 41 | FileBase* fb; |
MikamiUitOpen | 6:38f7dce055d0 | 42 | }; |
MikamiUitOpen | 6:38f7dce055d0 | 43 | |
MikamiUitOpen | 6:38f7dce055d0 | 44 | } // namespace mbed |
MikamiUitOpen | 6:38f7dce055d0 | 45 | |
MikamiUitOpen | 6:38f7dce055d0 | 46 | #endif |