Skip to content

Commit ff95eca

Browse files
committed
Cleanup I2SStream
1 parent 9ac71be commit ff95eca

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/AudioI2S/I2SStream.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,6 @@ class I2SStream : public AudioStream {
9292
return i2s.readBytes(data, length);
9393
}
9494

95-
/// not supported
96-
virtual size_t write(uint8_t){
97-
return 0;
98-
}
99-
100-
/// not supported
101-
virtual int read() {
102-
return -1;
103-
}
104-
105-
/// not supported
106-
virtual int peek() {
107-
return -1;
108-
}
109-
11095
/// Provides the available audio data
11196
virtual int available() override {
11297
return i2s.available();

0 commit comments

Comments
 (0)