Skip to content

Commit e7686e0

Browse files
committed
Rename to FLACDecoderFoxen
1 parent 225eefc commit e7686e0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/examples-communication/http-client/streams-url_flac_foxen-i2s/streams-url_flac_foxen-i2s.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const char* pwd = "password";
2020
URLStream url(ssid, pwd);
2121
AudioBoardStream i2s(AudioKitEs8388V1); // or replace with e.g. I2SStream i2s;
2222

23-
FLACFoxenDecoder flac(5*1024, 2);
23+
FLACDecoderFoxen flac(5*1024, 2);
2424
EncodedAudioStream dec(&i2s, &flac); // Decoding to i2s
2525
StreamCopy copier(dec, url, 1024); // copy url to decoder
2626

src/AudioTools/AudioCodecs/CodecFLACFoxen.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ namespace audio_tools {
1616
* @author Phil Schatzmann
1717
* @copyright GPLv3
1818
*/
19-
class FLACFoxenDecoder : public AudioDecoder {
19+
class FLACDecoderFoxen : public AudioDecoder {
2020
public:
21-
FLACFoxenDecoder() = default;
21+
FLACDecoderFoxen() = default;
2222

2323
/// Default Constructor
24-
FLACFoxenDecoder(int maxBlockSize, int maxChannels,
24+
FLACDecoderFoxen(int maxBlockSize, int maxChannels,
2525
bool convertTo16Bits = true) {
2626
is_convert_to_16 = convertTo16Bits;
2727
max_block_size = maxBlockSize;
2828
max_channels = maxChannels;
2929
};
3030

3131
/// Destructor - calls end();
32-
~FLACFoxenDecoder() { end(); }
32+
~FLACDecoderFoxen() { end(); }
3333

3434
bool begin() {
3535
TRACEI();

0 commit comments

Comments
 (0)