File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
+ #ifndef htons
3
4
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
4
5
# define htonl (x ) (((x) << 24 & 0xFF000000UL) | ((x) << 8 & 0x00FF0000UL) | ((x) >> 8 & 0x0000FF00UL) | ((x) >> 24 & 0x000000FFUL))
5
6
# define htons (x ) (((uint16_t)(x)&0xff00) >> 8) | (((uint16_t)(x)&0X00FF) << 8)
13
14
#else
14
15
#error Could not determine byte order
15
16
#endif
17
+ #endif
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ class OggContainerOutput : public AudioOutput {
213
213
// / Defines the output Stream
214
214
void setOutput (Print &print) { p_out = &print; }
215
215
216
- virtual bool begin (AudioInfo from) {
216
+ virtual bool begin (AudioInfo from) override {
217
217
setAudioInfo (from);
218
218
return begin ();
219
219
}
You can’t perform that action at this time.
0 commit comments