Skip to content

Commit a00853e

Browse files
committed
2 parents a8abb96 + f617e5e commit a00853e

File tree

92 files changed

+177
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+177
-105
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ As “Audio Sinks” we will have e.g:
3535
- external DAC – [I2SStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_i2_s_stream.html)
3636
- Analog output e.g. with an Amplifier – [AnalogAudioStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_analog_audio_stream.html)
3737
- with a Piezo Electric Element – [PWMAudioStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_p_w_m_audio_stream_base.html)
38+
- external SPDIF/TOSLINK Amplifier - [SPDIFStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_s_p_d_i_f_stream.html)
3839
- Bluetooth Speakers – [A2DPStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_a2_d_p_stream.html)
3940
- Serial to display the data as CSV – [CsvStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_csv_stream.html)
4041
- Encoding and Decoding of Audio [EncodedAudioStream](https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_encoded_audio_stream.html)

examples/examples-audiokit/player-sd-audiokit/player-sd-audiokit.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include "AudioTools.h"
1313
#include "AudioLibs/AudioKit.h"
1414

15-
using namespace audio_tools;
16-
1715
const char *startFilePath="/";
1816
const char* ext="mp3";
1917
int speedMz = 10;

examples/examples-audiokit/player-url_icy-audiokit/player-url_icy-audiokit.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "AudioCodecs/CodecMP3Helix.h"
1414
#include "AudioLibs/AudioKit.h"
1515

16-
using namespace audio_tools;
17-
1816
const char *urls[] = {
1917
"http://centralcharts.ice.infomaniak.ch/",
2018
"http://centraljazz.ice.infomaniak.ch/",

examples/examples-audiokit/streams-audiokit-audiokit/streams-audiokit-audiokit.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include "AudioTools.h"
1212
#include "AudioLibs/AudioKit.h"
1313

14-
using namespace audio_tools;
15-
1614
AudioKitStream kit; // Access I2S as stream
1715
StreamCopy copier(kit, kit); // copy kit to kit
1816

examples/examples-audiokit/streams-audiokit-csv/streams-audiokit-csv.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include "AudioTools.h"
1212
#include "AudioLibs/AudioKit.h"
1313

14-
using namespace audio_tools;
15-
1614
AudioKitStream kit; // Access I2S as stream
1715
CsvStream<int16_t> csvStream(Serial);
1816
StreamCopy copier(csvStream, kit); // copy kit to csvStream

examples/examples-basic-api/base-adc-a2dp/base-adc-a2dp.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#include "BluetoothA2DPSource.h"
1515
#include "AudioTools.h"
1616

17-
using namespace audio_tools;
18-
1917
/**
2018
* @brief We use a mcp6022 analog microphone as input and send the data to A2DP
2119
*/

examples/examples-basic-api/base-adc-serial/base-adc-serial.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#include "BluetoothA2DPSource.h"
1515
#include "AudioTools.h"
1616

17-
using namespace audio_tools;
18-
1917
/**
2018
* @brief We use a mcp6022 analog microphone on GPIO34 and write it to Serial
2119
*/

examples/examples-basic-api/base-file_mp3-a2dp/base-file_mp3-a2dp.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "BluetoothA2DPSource.h"
1919
#include "AudioTools.h"
2020

21-
using namespace audio_tools;
21+
2222

2323
const int sd_ss_pin = 5;
2424
const char* fileName = "/audio.mp3";

examples/examples-basic-api/base-i2s-a2dp/base-i2s-a2dp.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include "AudioTools.h"
1414

15-
using namespace audio_tools;
15+
1616

1717
/**
1818
* @brief We use a ADS1015 I2S microphone as input and send the data to A2DP

examples/examples-basic-api/base-i2s-serial/base-i2s-serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "Arduino.h"
1111
#include "AudioTools.h"
1212

13-
using namespace audio_tools;
13+
1414

1515
/**
1616
* @brief We use I2S as input

0 commit comments

Comments
 (0)