File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
examples/examples-communication/http-client/streams-url_flac_foxen-i2s
src/AudioTools/AudioCodecs Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const char* pwd = "password";
2020URLStream url (ssid, pwd);
2121AudioBoardStream i2s (AudioKitEs8388V1); // or replace with e.g. I2SStream i2s;
2222
23- FLACFoxenDecoder flac (5 *1024 , 2 );
23+ FLACDecoderFoxen flac (5 *1024 , 2 );
2424EncodedAudioStream dec (&i2s, &flac); // Decoding to i2s
2525StreamCopy copier (dec, url, 1024 ); // copy url to decoder
2626
Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments