arduino-audio-tools
Loading...
Searching...
No Matches
FileSystem.h
Go to the documentation of this file.
1#pragma once
2
6#if defined(ARDUINO)
7#include <SD.h>
8#include <SPI.h>
9
10#elif defined(IS_ZEPHYR)
11#include "ZephyrSD.h"
12#include "ZephyrFile.h"
13
14#else
15#define VFS_SD SD
17#include "AudioTools/Disk/VFS.h"
18
19// We allow the access to the files via the global SD object
20
21namespace audio_tools {
22
25using File = VFSFile;
26
29using FS = VFS;
30
31static FS SD; // global object for compatibility with Arduino code
32
33}
34
35#endif
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition AudioCodecsBase.h:10
ZephyrFile File
Definition ZephyrFile.h:235
static ZephyrSDClass SD
Access to SD object.
Definition ZephyrSD.h:215