Skip to content

Commit 964f2fc

Browse files
committed
SPDIF Support - Final Commit
1 parent 73480fe commit 964f2fc

File tree

8 files changed

+6
-9
lines changed

8 files changed

+6
-9
lines changed

examples/sandbox/basic-a2dp-spdif/basic-a2dp-spdif.ino renamed to examples/examples-basic-api/basic-a2dp-spdif/basic-a2dp-spdif.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#define USE_A2DP
1818
#include "AudioConfigLocal.h"
1919
#include "AudioTools.h"
20-
#include "AudioExperiments/AudioSPDIF.h"
21-
2220

2321
BluetoothA2DPSink a2dp_sink;
2422
SPDIFStream spdif;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Test Output to SPDIF
2+
3+
We use the sine generator to generate a test tone and output it as SPDIF dignals to the indicated pin.
4+
If you encounter some quality issues you can increase the DEFAULT_BUFFER_SIZE (e.g. to 2048) and I2S_BUFFER_SIZE/I2S_BUFFER_COUNT

examples/sandbox/streams-generator-spdif/streams-generator-spdif.ino renamed to examples/examples-stream/streams-generator-spdif/streams-generator-spdif.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
/**
22
* @file streams-generator-i2s.ino
33
* @author Phil Schatzmann
4-
* @brief see https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-stream/streams-generator-i2s/README.md
4+
* @brief see https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-stream/streams-generator-spdif/README.md
55
* @author Phil Schatzmann
66
* @copyright GPLv3
77
*/
88

99
#include "AudioConfigLocal.h"
1010
#include "AudioTools.h"
11-
#include "AudioExperiments/AudioSPDIF.h"
12-
1311

1412

1513
typedef int16_t sound_t; // sound will be represented as int16_t (with 2 bytes)

examples/sandbox/streams-generator-spdif/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/AudioTools.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "AudioTools/AudioStreams.h"
2121
#include "AudioTools/AudioOutput.h"
2222
#include "AudioTools/AudioCopy.h"
23+
#include "AudioTools/AudioSPDIF.h"
2324
#include "AudioMetaData/MetaData.h"
2425
#include "AudioCodecs/AudioCodecs.h"
2526
#include "AudioHttp/AudioHttp.h"
File renamed without changes.

0 commit comments

Comments
 (0)