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";
20
20
URLStream url (ssid, pwd);
21
21
AudioBoardStream i2s (AudioKitEs8388V1); // or replace with e.g. I2SStream i2s;
22
22
23
- FLACFoxenDecoder flac (5 *1024 , 2 );
23
+ FLACDecoderFoxen flac (5 *1024 , 2 );
24
24
EncodedAudioStream dec (&i2s, &flac); // Decoding to i2s
25
25
StreamCopy copier (dec, url, 1024 ); // copy url to decoder
26
26
Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ namespace audio_tools {
16
16
* @author Phil Schatzmann
17
17
* @copyright GPLv3
18
18
*/
19
- class FLACFoxenDecoder : public AudioDecoder {
19
+ class FLACDecoderFoxen : public AudioDecoder {
20
20
public:
21
- FLACFoxenDecoder () = default ;
21
+ FLACDecoderFoxen () = default ;
22
22
23
23
// / Default Constructor
24
- FLACFoxenDecoder (int maxBlockSize, int maxChannels,
24
+ FLACDecoderFoxen (int maxBlockSize, int maxChannels,
25
25
bool convertTo16Bits = true ) {
26
26
is_convert_to_16 = convertTo16Bits;
27
27
max_block_size = maxBlockSize;
28
28
max_channels = maxChannels;
29
29
};
30
30
31
31
// / Destructor - calls end();
32
- ~FLACFoxenDecoder () { end (); }
32
+ ~FLACDecoderFoxen () { end (); }
33
33
34
34
bool begin () {
35
35
TRACEI ();
You can’t perform that action at this time.
0 commit comments