We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d007c44 commit 710bbf4Copy full SHA for 710bbf4
src/AudioTools.h
@@ -39,8 +39,11 @@
39
* @brief typedefs for Default
40
*
41
*/
42
-//#if defined(__linux__) || defined(_WIN32) || defined(__APPLE__)
43
-//typedef PortAudioStream DefaultStream;
44
-//#elif defined(ESP32) || defined(ESP8266) || defined(__SAMD21G18A__)
45
-//typedef I2SStream DefaultStream;
46
-//#endif
+
+using namespace audio_tools;
+#if defined(__linux__) || defined(_WIN32) || defined(__APPLE__)
+typedef PortAudioStream DefaultStream;
47
+#elif defined(ESP32) || defined(ESP8266) || defined(__SAMD21G18A__)
48
+typedef I2SStream DefaultStream;
49
+#endif
0 commit comments