File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,15 @@ class int24x_t {
35
35
set (in);
36
36
}
37
37
38
- #if defined(STM32) || defined(ESP32C3)
38
+ int24x_t (const int64_t &in) {
39
+ set (in);
40
+ }
41
+
42
+ int24x_t (const float in) {
43
+ set ((int32_t )in);
44
+ }
45
+
46
+ #if defined(USE_INT24_FROM_INT)
39
47
40
48
int24x_t (const int &in) {
41
49
set (in);
Original file line number Diff line number Diff line change @@ -649,6 +649,7 @@ using WiFiServerSecure = BearSSL::WiFiServerSecure;
649
649
# define USE_STREAM_WRITE_OVERRIDE
650
650
# define USE_STREAM_READ_OVERRIDE
651
651
# define USE_STREAM_READCHAR_OVERRIDE
652
+ # define USE_3BYTE_INT24
652
653
typedef WiFiClient WiFiClientSecure;
653
654
#endif
654
655
@@ -686,7 +687,7 @@ typedef WiFiClient WiFiClientSecure;
686
687
// select int24 implementation
687
688
#ifdef USE_3BYTE_INT24
688
689
# include " AudioBasic/Int24x.h"
689
- using int24_t = int24x_t ;
690
+ using int24_t = audio_tools:: int24x_t ;
690
691
#else
691
692
# include " AudioBasic/Int24.h"
692
693
#endif
You can’t perform that action at this time.
0 commit comments