Browse Source

adjust #includes per restructure, deps

main
John Robinson 3 years ago
parent
commit
5b33918be9
No known key found for this signature in database
100 changed files with 332 additions and 332 deletions
  1. +80
    -80
      include/audio/Audio.h
  2. +1
    -1
      include/audio/Quantizer.h
  3. +1
    -1
      include/audio/Resampler.h
  4. +3
    -3
      include/audio/analyze_fft1024.h
  5. +3
    -3
      include/audio/analyze_fft256.h
  6. +2
    -2
      include/audio/analyze_notefreq.h
  7. +2
    -2
      include/audio/analyze_peak.h
  8. +2
    -2
      include/audio/analyze_print.h
  9. +2
    -2
      include/audio/analyze_rms.h
  10. +2
    -2
      include/audio/analyze_tonedetect.h
  11. +6
    -6
      include/audio/async_input_spdif3.h
  12. +2
    -2
      include/audio/biquad.h
  13. +1
    -1
      include/audio/control_ak4558.h
  14. +1
    -1
      include/audio/control_cs42448.h
  15. +1
    -1
      include/audio/control_cs4272.h
  16. +2
    -2
      include/audio/control_sgtl5000.h
  17. +2
    -2
      include/audio/control_tlv320aic3206.h
  18. +1
    -1
      include/audio/control_wm8731.h
  19. +2
    -2
      include/audio/effect_bitcrusher.h
  20. +2
    -2
      include/audio/effect_chorus.h
  21. +2
    -2
      include/audio/effect_combine.h
  22. +3
    -3
      include/audio/effect_delay.h
  23. +3
    -3
      include/audio/effect_delay_ext.h
  24. +3
    -3
      include/audio/effect_envelope.h
  25. +2
    -2
      include/audio/effect_fade.h
  26. +2
    -2
      include/audio/effect_flange.h
  27. +2
    -2
      include/audio/effect_freeverb.h
  28. +1
    -1
      include/audio/effect_granular.h
  29. +3
    -3
      include/audio/effect_midside.h
  30. +3
    -3
      include/audio/effect_multiply.h
  31. +2
    -2
      include/audio/effect_rectifier.h
  32. +1
    -1
      include/audio/effect_reverb.h
  33. +2
    -2
      include/audio/effect_waveshaper.h
  34. +2
    -2
      include/audio/filter_biquad.h
  35. +3
    -3
      include/audio/filter_fir.h
  36. +2
    -2
      include/audio/filter_ladder.h
  37. +2
    -2
      include/audio/filter_variable.h
  38. +3
    -3
      include/audio/input_adc.h
  39. +3
    -3
      include/audio/input_adcs.h
  40. +3
    -3
      include/audio/input_i2s.h
  41. +3
    -3
      include/audio/input_i2s2.h
  42. +3
    -3
      include/audio/input_i2s_hex.h
  43. +3
    -3
      include/audio/input_i2s_oct.h
  44. +3
    -3
      include/audio/input_i2s_quad.h
  45. +3
    -3
      include/audio/input_pdm.h
  46. +3
    -3
      include/audio/input_spdif3.h
  47. +3
    -3
      include/audio/input_tdm.h
  48. +3
    -3
      include/audio/input_tdm2.h
  49. +2
    -2
      include/audio/mixer.h
  50. +3
    -3
      include/audio/output_adat.h
  51. +3
    -3
      include/audio/output_dac.h
  52. +3
    -3
      include/audio/output_dacs.h
  53. +3
    -3
      include/audio/output_i2s.h
  54. +3
    -3
      include/audio/output_i2s2.h
  55. +3
    -3
      include/audio/output_i2s_hex.h
  56. +3
    -3
      include/audio/output_i2s_oct.h
  57. +3
    -3
      include/audio/output_i2s_quad.h
  58. +3
    -3
      include/audio/output_mqs.h
  59. +3
    -3
      include/audio/output_pt8211.h
  60. +3
    -3
      include/audio/output_pt8211_2.h
  61. +3
    -3
      include/audio/output_pwm.h
  62. +3
    -3
      include/audio/output_spdif.h
  63. +3
    -3
      include/audio/output_spdif2.h
  64. +3
    -3
      include/audio/output_spdif3.h
  65. +3
    -3
      include/audio/output_tdm.h
  66. +3
    -3
      include/audio/output_tdm2.h
  67. +2
    -2
      include/audio/play_memory.h
  68. +2
    -2
      include/audio/play_queue.h
  69. +3
    -3
      include/audio/play_sd_raw.h
  70. +3
    -3
      include/audio/play_sd_wav.h
  71. +3
    -3
      include/audio/play_serialflash_raw.h
  72. +2
    -2
      include/audio/record_queue.h
  73. +3
    -3
      include/audio/spi_interrupt.h
  74. +3
    -3
      include/audio/synth_dc.h
  75. +3
    -3
      include/audio/synth_karplusstrong.h
  76. +3
    -3
      include/audio/synth_pinknoise.h
  77. +3
    -3
      include/audio/synth_pwm.h
  78. +2
    -2
      include/audio/synth_simple_drum.h
  79. +3
    -3
      include/audio/synth_sine.h
  80. +2
    -2
      include/audio/synth_tonesweep.h
  81. +3
    -3
      include/audio/synth_waveform.h
  82. +2
    -2
      include/audio/synth_wavetable.h
  83. +3
    -3
      include/audio/synth_whitenoise.h
  84. +2
    -2
      include/audio/utility/imxrt_hw.h
  85. +1
    -1
      src/audio/Quantizer.cpp
  86. +1
    -1
      src/audio/Resampler.cpp
  87. +4
    -4
      src/audio/analyze_fft1024.cpp
  88. +4
    -4
      src/audio/analyze_fft256.cpp
  89. +4
    -4
      src/audio/analyze_notefreq.cpp
  90. +2
    -2
      src/audio/analyze_peak.cpp
  91. +2
    -2
      src/audio/analyze_print.cpp
  92. +3
    -3
      src/audio/analyze_rms.cpp
  93. +3
    -3
      src/audio/analyze_tonedetect.cpp
  94. +4
    -4
      src/audio/async_input_spdif3.cpp
  95. +4
    -4
      src/audio/control_ak4558.cpp
  96. +3
    -3
      src/audio/control_cs42448.cpp
  97. +3
    -3
      src/audio/control_cs4272.cpp
  98. +3
    -3
      src/audio/control_sgtl5000.cpp
  99. +2
    -2
      src/audio/control_tlv320aic3206.cpp
  100. +0
    -0
      src/audio/control_wm8731.cpp

+ 80
- 80
include/audio/Audio.h View File

@@ -34,7 +34,7 @@
#error "The Audio Library only works with Teensy 3.X. Teensy 2.0 is unsupported."
#endif

#include "DMAChannel.h"
#include <core/DMAChannel.h>
#if !defined(DMACHANNEL_HAS_BEGIN) || !defined(DMACHANNEL_HAS_BOOLEAN_CTOR)
#error "You need to update DMAChannel.h & DMAChannel.cpp"
#error "https://github.com/PaulStoffregen/cores/blob/master/teensy3/DMAChannel.h"
@@ -56,85 +56,85 @@
#define AudioInterrupts() (NVIC_ENABLE_IRQ(IRQ_SOFTWARE))

// include all the library headers, so a sketch can use a single
// #include <Audio.h> to get the whole library
// #include <audio/Audio.h> to get the whole library
//
#include "analyze_fft256.h"
#include "analyze_fft1024.h"
#include "analyze_print.h"
#include "analyze_tonedetect.h"
#include "analyze_notefreq.h"
#include "analyze_peak.h"
#include "analyze_rms.h"
#include "async_input_spdif3.h"
#include "control_sgtl5000.h"
#include "control_wm8731.h"
#include "control_ak4558.h"
#include "control_cs4272.h"
#include "control_cs42448.h"
#include "control_tlv320aic3206.h"
#include "effect_bitcrusher.h"
#include "effect_chorus.h"
#include "effect_fade.h"
#include "effect_flange.h"
#include "effect_envelope.h"
#include "effect_multiply.h"
#include "effect_delay.h"
#include "effect_delay_ext.h"
#include "effect_midside.h"
#include "effect_reverb.h"
#include "effect_freeverb.h"
#include "effect_waveshaper.h"
#include "effect_granular.h"
#include "effect_combine.h"
#include "effect_rectifier.h"
#include "filter_biquad.h"
#include "filter_fir.h"
#include "filter_variable.h"
#include "filter_ladder.h"
#include "input_adc.h"
#include "input_adcs.h"
#include "input_i2s.h"
#include "input_i2s2.h"
#include "input_i2s_quad.h"
#include "input_i2s_hex.h"
#include "input_i2s_oct.h"
#include "input_tdm.h"
#include "input_tdm2.h"
#include "input_pdm.h"
#include "input_spdif3.h"
#include "mixer.h"
#include "output_dac.h"
#include "output_dacs.h"
#include "output_i2s.h"
#include "output_i2s2.h"
#include "output_i2s_quad.h"
#include "output_i2s_hex.h"
#include "output_i2s_oct.h"
#include "output_mqs.h"
#include "output_pwm.h"
#include "output_spdif.h"
#include "output_spdif2.h"
#include "output_spdif3.h"
#include "output_pt8211.h"
#include "output_pt8211_2.h"
#include "output_tdm.h"
#include "output_tdm2.h"
#include "output_adat.h"
#include "play_memory.h"
#include "play_queue.h"
#include "play_sd_raw.h"
#include "play_sd_wav.h"
#include "play_serialflash_raw.h"
#include "record_queue.h"
#include "synth_tonesweep.h"
#include "synth_sine.h"
#include "synth_waveform.h"
#include "synth_dc.h"
#include "synth_whitenoise.h"
#include "synth_pinknoise.h"
#include "synth_karplusstrong.h"
#include "synth_simple_drum.h"
#include "synth_pwm.h"
#include "synth_wavetable.h"
#include "./analyze_fft256.h"
#include "./analyze_fft1024.h"
#include "./analyze_print.h"
#include "./analyze_tonedetect.h"
#include "./analyze_notefreq.h"
#include "./analyze_peak.h"
#include "./analyze_rms.h"
#include "./async_input_spdif3.h"
#include "./control_sgtl5000.h"
#include "./control_wm8731.h"
#include "./control_ak4558.h"
#include "./control_cs4272.h"
#include "./control_cs42448.h"
#include "./control_tlv320aic3206.h"
#include "./effect_bitcrusher.h"
#include "./effect_chorus.h"
#include "./effect_fade.h"
#include "./effect_flange.h"
#include "./effect_envelope.h"
#include "./effect_multiply.h"
#include "./effect_delay.h"
#include "./effect_delay_ext.h"
#include "./effect_midside.h"
#include "./effect_reverb.h"
#include "./effect_freeverb.h"
#include "./effect_waveshaper.h"
#include "./effect_granular.h"
#include "./effect_combine.h"
#include "./effect_rectifier.h"
#include "./filter_biquad.h"
#include "./filter_fir.h"
#include "./filter_variable.h"
#include "./filter_ladder.h"
#include "./input_adc.h"
#include "./input_adcs.h"
#include "./input_i2s.h"
#include "./input_i2s2.h"
#include "./input_i2s_quad.h"
#include "./input_i2s_hex.h"
#include "./input_i2s_oct.h"
#include "./input_tdm.h"
#include "./input_tdm2.h"
#include "./input_pdm.h"
#include "./input_spdif3.h"
#include "./mixer.h"
#include "./output_dac.h"
#include "./output_dacs.h"
#include "./output_i2s.h"
#include "./output_i2s2.h"
#include "./output_i2s_quad.h"
#include "./output_i2s_hex.h"
#include "./output_i2s_oct.h"
#include "./output_mqs.h"
#include "./output_pwm.h"
#include "./output_spdif.h"
#include "./output_spdif2.h"
#include "./output_spdif3.h"
#include "./output_pt8211.h"
#include "./output_pt8211_2.h"
#include "./output_tdm.h"
#include "./output_tdm2.h"
#include "./output_adat.h"
#include "./play_memory.h"
#include "./play_queue.h"
#include "./play_sd_raw.h"
#include "./play_sd_wav.h"
#include "./play_serialflash_raw.h"
#include "./record_queue.h"
#include "./synth_tonesweep.h"
#include "./synth_sine.h"
#include "./synth_waveform.h"
#include "./synth_dc.h"
#include "./synth_whitenoise.h"
#include "./synth_pinknoise.h"
#include "./synth_karplusstrong.h"
#include "./synth_simple_drum.h"
#include "./synth_pwm.h"
#include "./synth_wavetable.h"

#endif

+ 1
- 1
include/audio/Quantizer.h View File

@@ -29,7 +29,7 @@
#ifndef quantizer_h_
#define quantizer_h_

#include "Arduino.h"
#include <core/Arduino.h>

//#define DEBUG_QUANTIZER


+ 1
- 1
include/audio/Resampler.h View File

@@ -31,7 +31,7 @@
#define resampler_h_


#include "Arduino.h"
#include <core/Arduino.h>
//#define DEBUG_RESAMPLER //activates debug output

#define MAX_FILTER_SAMPLES 40961 //=1024*20 +1

+ 3
- 3
include/audio/analyze_fft1024.h View File

@@ -27,9 +27,9 @@
#ifndef analyze_fft1024_h_
#define analyze_fft1024_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

// windows.c
extern "C" {

+ 3
- 3
include/audio/analyze_fft256.h View File

@@ -27,9 +27,9 @@
#ifndef analyze_fft256_h_
#define analyze_fft256_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

// windows.c
extern "C" {

+ 2
- 2
include/audio/analyze_notefreq.h View File

@@ -23,8 +23,8 @@
#ifndef AudioAnalyzeNoteFrequency_h_
#define AudioAnalyzeNoteFrequency_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
/***********************************************************************
* Safe to adjust these values below *
* *

+ 2
- 2
include/audio/analyze_peak.h View File

@@ -27,8 +27,8 @@
#ifndef analyze_peakdetect_h_
#define analyze_peakdetect_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioAnalyzePeak : public AudioStream
{

+ 2
- 2
include/audio/analyze_print.h View File

@@ -27,8 +27,8 @@
#ifndef analyze_print_h_
#define analyze_print_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioAnalyzePrint : public AudioStream
{

+ 2
- 2
include/audio/analyze_rms.h View File

@@ -27,8 +27,8 @@
#ifndef analyze_rms_h_
#define analyze_rms_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioAnalyzeRMS : public AudioStream
{

+ 2
- 2
include/audio/analyze_tonedetect.h View File

@@ -27,8 +27,8 @@
#ifndef analyze_tonedetect_h_
#define analyze_tonedetect_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioAnalyzeToneDetect : public AudioStream
{

+ 6
- 6
include/audio/async_input_spdif3.h View File

@@ -28,12 +28,12 @@
*/
#ifndef async_input_spdif3_h_
#define async_input_spdif3_h_
#include "Resampler.h"
#include "Quantizer.h"
#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <arm_math.h>
#include "./Resampler.h"
#include "./Quantizer.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>
#include <core/arm_math.h>

//#define DEBUG_SPDIF_IN //activates debug output


+ 2
- 2
include/audio/biquad.h View File

@@ -29,8 +29,8 @@
#ifndef biquad_coeffs_h_
#define biquad_coeffs_h_

#include "Arduino.h"
#include <arm_math.h>
#include <core/Arduino.h>
#include <core/arm_math.h>
#include <type_traits>

enum class BiquadType {

+ 1
- 1
include/audio/control_ak4558.h View File

@@ -7,7 +7,7 @@
#ifndef control_ak4558_h_
#define control_ak4558_h_

#include "AudioControl.h"
#include "./AudioControl.h"

#define AK4558_SERIAL_DEBUG 1
//if 1, then Serial Monitor will show debug information about configuration of the AK4558

+ 1
- 1
include/audio/control_cs42448.h View File

@@ -27,7 +27,7 @@
#ifndef control_cs42448_h_
#define control_cs42448_h_

#include "AudioControl.h"
#include "./AudioControl.h"
#include <math.h>

class AudioControlCS42448 : public AudioControl

+ 1
- 1
include/audio/control_cs4272.h View File

@@ -30,7 +30,7 @@
#ifndef control_cs4272_h_
#define control_cs4272_h_

#include "AudioControl.h"
#include "./AudioControl.h"

class AudioControlCS4272 : public AudioControl
{

+ 2
- 2
include/audio/control_sgtl5000.h View File

@@ -27,8 +27,8 @@
#ifndef control_sgtl5000_h_
#define control_sgtl5000_h_

#include <AudioStream.h>
#include "AudioControl.h"
#include <core/AudioStream.h>
#include "./AudioControl.h"

// SGTL5000-specific defines for headphones
#define AUDIO_HEADPHONE_DAC 0

+ 2
- 2
include/audio/control_tlv320aic3206.h View File

@@ -54,8 +54,8 @@
#ifndef control_tlv320aic3206_h_
#define control_tlv320aic3206_h_

#include "AudioControl.h"
#include <Arduino.h>
#include "./AudioControl.h"
#include <core/Arduino.h>

//convenience names to use with inputSelect() to set whnch analog inputs to use
#define AIC3206_INPUT_IN1 1 //uses IN1

+ 1
- 1
include/audio/control_wm8731.h View File

@@ -27,7 +27,7 @@
#ifndef control_wm8731_h_
#define control_wm8731_h_

#include "AudioControl.h"
#include "./AudioControl.h"

class AudioControlWM8731 : public AudioControl
{

+ 2
- 2
include/audio/effect_bitcrusher.h View File

@@ -28,8 +28,8 @@
#ifndef effect_bitcrusher_h_
#define effect_bitcrusher_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectBitcrusher : public AudioStream
{

+ 2
- 2
include/audio/effect_chorus.h View File

@@ -23,8 +23,8 @@
#ifndef effect_chorus_h_
#define effect_chorus_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

/******************************************************************/


+ 2
- 2
include/audio/effect_combine.h View File

@@ -30,8 +30,8 @@

#ifndef effect_digital_combine_h_
#define effect_digital_combine_h_
#include <Arduino.h>
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectDigitalCombine : public AudioStream
{

+ 3
- 3
include/audio/effect_delay.h View File

@@ -26,9 +26,9 @@

#ifndef effect_delay_h_
#define effect_delay_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

#if defined(__IMXRT1062__)
// 4.00 second maximum on Teensy 4.0

+ 3
- 3
include/audio/effect_delay_ext.h View File

@@ -26,9 +26,9 @@

#ifndef effect_delay_ext_h_
#define effect_delay_ext_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "spi_interrupt.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./spi_interrupt.h"

enum AudioEffectDelayMemoryType_t {
AUDIO_MEMORY_23LC1024 = 0, // 128k x 8 S-RAM

+ 3
- 3
include/audio/effect_envelope.h View File

@@ -26,9 +26,9 @@

#ifndef effect_envelope_h_
#define effect_envelope_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

#define SAMPLES_PER_MSEC (AUDIO_SAMPLE_RATE_EXACT/1000.0)


+ 2
- 2
include/audio/effect_fade.h View File

@@ -27,8 +27,8 @@
#ifndef effect_fade_h_
#define effect_fade_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectFade : public AudioStream
{

+ 2
- 2
include/audio/effect_flange.h View File

@@ -23,8 +23,8 @@
#ifndef effect_flange_h_
#define effect_flange_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

/******************************************************************/
// A u d i o E f f e c t F l a n g e

+ 2
- 2
include/audio/effect_freeverb.h View File

@@ -26,8 +26,8 @@

#ifndef effect_freeverb_h_
#define effect_freeverb_h_
#include <Arduino.h>
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectFreeverb : public AudioStream
{

+ 1
- 1
include/audio/effect_granular.h View File

@@ -21,7 +21,7 @@
* SOFTWARE.
*/

#include "AudioStream.h"
#include <core/AudioStream.h>

class AudioEffectGranular : public AudioStream
{

+ 3
- 3
include/audio/effect_midside.h View File

@@ -23,10 +23,10 @@
#ifndef effect_midside_decode_h_
#define effect_midside_decode_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

#include "utility/dspinst.h"
#include "./utility/dspinst.h"


/**

+ 3
- 3
include/audio/effect_multiply.h View File

@@ -26,9 +26,9 @@

#ifndef effect_multiply_h_
#define effect_multiply_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

class AudioEffectMultiply : public AudioStream
{

+ 2
- 2
include/audio/effect_rectifier.h View File

@@ -27,8 +27,8 @@
#ifndef effect_rectifier_h_
#define effect_rectifier_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectRectifier: public AudioStream
{

+ 1
- 1
include/audio/effect_reverb.h View File

@@ -29,7 +29,7 @@
#ifndef effect_reverb_
#define effect_reverb_

#include "AudioStream.h"
#include <core/AudioStream.h>

#define APF1_BUF_LEN 600
#define APF2_BUF_LEN 1300

+ 2
- 2
include/audio/effect_waveshaper.h View File

@@ -25,8 +25,8 @@
#ifndef effect_waveshaper_h_
#define effect_waveshaper_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioEffectWaveshaper : public AudioStream
{

+ 2
- 2
include/audio/filter_biquad.h View File

@@ -27,8 +27,8 @@
#ifndef filter_biquad_h_
#define filter_biquad_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioFilterBiquad : public AudioStream
{

+ 3
- 3
include/audio/filter_fir.h View File

@@ -23,9 +23,9 @@
#ifndef filter_fir_h_
#define filter_fir_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

// Indicates that the code should just pass through the audio
// without any filtering (as opposed to doing nothing at all)

+ 2
- 2
include/audio/filter_ladder.h View File

@@ -33,8 +33,8 @@
#ifndef filter_ladder_h_
#define filter_ladder_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioFilterLadder: public AudioStream
{

+ 2
- 2
include/audio/filter_variable.h View File

@@ -27,8 +27,8 @@
#ifndef filter_variable_h_
#define filter_variable_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioFilterStateVariable: public AudioStream
{

+ 3
- 3
include/audio/input_adc.h View File

@@ -27,9 +27,9 @@
#ifndef input_adc_h_
#define input_adc_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputAnalog : public AudioStream
{

+ 3
- 3
include/audio/input_adcs.h View File

@@ -27,9 +27,9 @@
#ifndef input_adcs_h_
#define input_adcs_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputAnalogStereo : public AudioStream
{

+ 3
- 3
include/audio/input_i2s.h View File

@@ -27,9 +27,9 @@
#ifndef _input_i2s_h_
#define _input_i2s_h_

#include <Arduino.h>
#include <AudioStream.h>
#include <DMAChannel.h>
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputI2S : public AudioStream
{

+ 3
- 3
include/audio/input_i2s2.h View File

@@ -28,9 +28,9 @@
#ifndef _input_i2s2_h_
#define _input_i2s2_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputI2S2 : public AudioStream
{

+ 3
- 3
include/audio/input_i2s_hex.h View File

@@ -27,9 +27,9 @@
#ifndef _input_i2s_hex_h_
#define _input_i2s_hex_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputI2SHex : public AudioStream
{

+ 3
- 3
include/audio/input_i2s_oct.h View File

@@ -27,9 +27,9 @@
#ifndef _input_i2s_oct_h_
#define _input_i2s_oct_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputI2SOct : public AudioStream
{

+ 3
- 3
include/audio/input_i2s_quad.h View File

@@ -27,9 +27,9 @@
#ifndef _input_i2s_quad_h_
#define _input_i2s_quad_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputI2SQuad : public AudioStream
{

+ 3
- 3
include/audio/input_pdm.h View File

@@ -27,9 +27,9 @@
#ifndef _input_pdm_h_
#define _input_pdm_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputPDM : public AudioStream
{

+ 3
- 3
include/audio/input_spdif3.h View File

@@ -29,9 +29,9 @@
#ifndef _input_spdif3_h_
#define _input_spdif3_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputSPDIF3 : public AudioStream
{

+ 3
- 3
include/audio/input_tdm.h View File

@@ -27,9 +27,9 @@
#ifndef _input_tdm_h_
#define _input_tdm_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputTDM : public AudioStream
{

+ 3
- 3
include/audio/input_tdm2.h View File

@@ -28,9 +28,9 @@
#ifndef _input_tdm2_h_
#define _input_tdm2_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioInputTDM2 : public AudioStream
{

+ 2
- 2
include/audio/mixer.h View File

@@ -27,8 +27,8 @@
#ifndef mixer_h_
#define mixer_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioMixer4 : public AudioStream
{

+ 3
- 3
include/audio/output_adat.h View File

@@ -24,9 +24,9 @@
#ifndef output_ADAT_h_
#define output_ADAT_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputADAT : public AudioStream
{

+ 3
- 3
include/audio/output_dac.h View File

@@ -27,9 +27,9 @@
#ifndef output_dac_h_
#define output_dac_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputAnalog : public AudioStream
{

+ 3
- 3
include/audio/output_dacs.h View File

@@ -27,9 +27,9 @@
#ifndef output_dacs_h_
#define output_dacs_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputAnalogStereo : public AudioStream
{

+ 3
- 3
include/audio/output_i2s.h View File

@@ -27,9 +27,9 @@
#ifndef output_i2s_h_
#define output_i2s_h_

#include <Arduino.h>
#include <AudioStream.h>
#include <DMAChannel.h>
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>


#if !defined(KINETISL)

+ 3
- 3
include/audio/output_i2s2.h View File

@@ -28,9 +28,9 @@
#ifndef output_i2s2_h_
#define output_i2s2_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>


class AudioOutputI2S2 : public AudioStream

+ 3
- 3
include/audio/output_i2s_hex.h View File

@@ -27,9 +27,9 @@
#ifndef output_i2s_hex_h_
#define output_i2s_hex_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputI2SHex : public AudioStream
{

+ 3
- 3
include/audio/output_i2s_oct.h View File

@@ -27,9 +27,9 @@
#ifndef output_i2s_oct_h_
#define output_i2s_oct_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputI2SOct : public AudioStream
{

+ 3
- 3
include/audio/output_i2s_quad.h View File

@@ -27,9 +27,9 @@
#ifndef output_i2s_quad_h_
#define output_i2s_quad_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputI2SQuad : public AudioStream
{

+ 3
- 3
include/audio/output_mqs.h View File

@@ -28,9 +28,9 @@
#ifndef output_mqs_h_
#define output_mqs_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputMQS : public AudioStream
{

+ 3
- 3
include/audio/output_pt8211.h View File

@@ -29,9 +29,9 @@
#ifndef output_pt8211_h_
#define output_pt8211_h_

#include <Arduino.h>
#include <AudioStream.h>
#include <DMAChannel.h>
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>


#if !defined(KINETISL)

+ 3
- 3
include/audio/output_pt8211_2.h View File

@@ -35,9 +35,9 @@
// #define AUDIO_PT8211_INTERPOLATION_LINEAR
#define AUDIO_PT8211_INTERPOLATION_CIC

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputPT8211_2 : public AudioStream
{

+ 3
- 3
include/audio/output_pwm.h View File

@@ -27,9 +27,9 @@
#ifndef output_pwm_h_
#define output_pwm_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

#if defined(__IMXRT1062__)
struct _pwm_pin_info_struct {

+ 3
- 3
include/audio/output_spdif.h View File

@@ -24,9 +24,9 @@
#ifndef output_SPDIF_h_
#define output_SPDIF_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputSPDIF : public AudioStream
{

+ 3
- 3
include/audio/output_spdif2.h View File

@@ -24,9 +24,9 @@
#ifndef output_SPDIF2_h_
#define output_SPDIF2_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputSPDIF2 : public AudioStream
{

+ 3
- 3
include/audio/output_spdif3.h View File

@@ -23,9 +23,9 @@
#ifndef output_SPDIF3_h_
#define output_SPDIF3_h_

#include <Arduino.h>
#include <AudioStream.h>
#include <DMAChannel.h>
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputSPDIF3 : public AudioStream
{

+ 3
- 3
include/audio/output_tdm.h View File

@@ -27,9 +27,9 @@
#ifndef output_tdm_h_
#define output_tdm_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputTDM : public AudioStream
{

+ 3
- 3
include/audio/output_tdm2.h View File

@@ -28,9 +28,9 @@
#ifndef output_tdm2_h_
#define output_tdm2_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "DMAChannel.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/DMAChannel.h>

class AudioOutputTDM2 : public AudioStream
{

+ 2
- 2
include/audio/play_memory.h View File

@@ -27,8 +27,8 @@
#ifndef play_memory_h_
#define play_memory_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioPlayMemory : public AudioStream
{

+ 2
- 2
include/audio/play_queue.h View File

@@ -27,8 +27,8 @@
#ifndef play_queue_h_
#define play_queue_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioPlayQueue : public AudioStream
{

+ 3
- 3
include/audio/play_sd_raw.h View File

@@ -27,9 +27,9 @@
#ifndef play_sd_raw_h_
#define play_sd_raw_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "SD.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <sd/SD.h>

class AudioPlaySdRaw : public AudioStream
{

+ 3
- 3
include/audio/play_sd_wav.h View File

@@ -27,9 +27,9 @@
#ifndef play_sd_wav_h_
#define play_sd_wav_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "SD.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <sd/SD.h>

class AudioPlaySdWav : public AudioStream
{

+ 3
- 3
include/audio/play_serialflash_raw.h View File

@@ -28,9 +28,9 @@
#ifndef play_serial_raw_h_
#define play_serial_raw_h_

#include "Arduino.h"
#include <AudioStream.h>
#include <SerialFlash.h>
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <serial-flash/SerialFlash.h>

class AudioPlaySerialflashRaw : public AudioStream
{

+ 2
- 2
include/audio/record_queue.h View File

@@ -27,8 +27,8 @@
#ifndef record_queue_h_
#define record_queue_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

class AudioRecordQueue : public AudioStream
{

+ 3
- 3
include/audio/spi_interrupt.h View File

@@ -27,9 +27,9 @@
#ifndef audio_spi_interrupt_h_
#define audio_spi_interrupt_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "SPI.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <spi/SPI.h>

static inline void AudioStartUsingSPI(void) __attribute__((always_inline, unused));
static inline void AudioStopUsingSPI(void) __attribute__((always_inline, unused));

+ 3
- 3
include/audio/synth_dc.h View File

@@ -26,9 +26,9 @@

#ifndef synth_dc_h_
#define synth_dc_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

// compute (a - b) / c
// handling 32 bit interger overflow at every step

+ 3
- 3
include/audio/synth_karplusstrong.h View File

@@ -26,9 +26,9 @@

#ifndef synth_karplusstrong_h_
#define synth_karplusstrong_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

class AudioSynthKarplusStrong : public AudioStream
{

+ 3
- 3
include/audio/synth_pinknoise.h View File

@@ -26,9 +26,9 @@

#ifndef synth_pinknoise_h_
#define synth_pinknoise_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

class AudioSynthNoisePink : public AudioStream
{

+ 3
- 3
include/audio/synth_pwm.h View File

@@ -27,9 +27,9 @@
#ifndef synth_pwm_h_
#define synth_pwm_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

class AudioSynthWaveformPWM : public AudioStream
{

+ 2
- 2
include/audio/synth_simple_drum.h View File

@@ -28,8 +28,8 @@

#ifndef _SYNTH_SIMPLE_DRUM_H_
#define _SYNTH_SIMPLE_DRUM_H_
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

class AudioSynthSimpleDrum : public AudioStream
{

+ 3
- 3
include/audio/synth_sine.h View File

@@ -27,9 +27,9 @@
#ifndef synth_sine_h_
#define synth_sine_h_

#include "Arduino.h"
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

// TODO: investigate making a high resolution sine wave
// using Taylor series expansion.

+ 2
- 2
include/audio/synth_tonesweep.h View File

@@ -23,8 +23,8 @@
#ifndef synth_tonesweep_h_
#define synth_tonesweep_h_

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>

// A u d i o S y n t h T o n e S w e e p
// Written by Pete (El Supremo) Feb 2014

+ 3
- 3
include/audio/synth_waveform.h View File

@@ -27,9 +27,9 @@
#ifndef synth_waveform_h_
#define synth_waveform_h_

#include <Arduino.h>
#include "AudioStream.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <core/arm_math.h>

// waveforms.c
extern "C" {

+ 2
- 2
include/audio/synth_wavetable.h View File

@@ -26,8 +26,8 @@

#pragma once

#include "Arduino.h"
#include "AudioStream.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include <math.h>
#include <stdint.h>


+ 3
- 3
include/audio/synth_whitenoise.h View File

@@ -26,9 +26,9 @@

#ifndef synth_whitenoise_h_
#define synth_whitenoise_h_
#include "Arduino.h"
#include "AudioStream.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include <core/AudioStream.h>
#include "./utility/dspinst.h"

class AudioSynthNoiseWhite : public AudioStream
{

+ 2
- 2
include/audio/utility/imxrt_hw.h View File

@@ -34,8 +34,8 @@

#define IMXRT_CACHE_ENABLED 2 // 0=disabled, 1=WT, 2= WB

#include <Arduino.h>
#include <imxrt.h>
#include <core/Arduino.h>
#include <core/imxrt.h>

void set_audioClock(int nfact, int32_t nmult, uint32_t ndiv, bool force = false); // sets PLL4


+ 1
- 1
src/audio/Quantizer.cpp View File

@@ -26,7 +26,7 @@
/*
by Alexander Walch
*/
#include "Quantizer.h"
#include "audio/Quantizer.h"

#define SAMPLEINVALID(sample) (!isfinite(sample) || abs(sample) >= 1.2) //use only for floating point samples (\in [-1.,1.])


+ 1
- 1
src/audio/Resampler.cpp View File

@@ -27,7 +27,7 @@
by Alexander Walch
*/

#include "Resampler.h"
#include "audio/Resampler.h"
#include <math.h>

Resampler::Resampler(float attenuation, int32_t minHalfFilterLength, int32_t maxHalfFilterLength, StepAdaptionParameters settings): _targetAttenuation(attenuation)

+ 4
- 4
src/audio/analyze_fft1024.cpp View File

@@ -24,10 +24,10 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_fft1024.h"
#include "sqrt_integer.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include "audio/analyze_fft1024.h"
#include "audio/utility/sqrt_integer.h"
#include "audio/utility/dspinst.h"


// 140312 - PAH - slightly faster copy

+ 4
- 4
src/audio/analyze_fft256.cpp View File

@@ -24,10 +24,10 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_fft256.h"
#include "sqrt_integer.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include "audio/analyze_fft256.h"
#include "audio/utility/sqrt_integer.h"
#include "audio/utility/dspinst.h"


// 140312 - PAH - slightly faster copy

+ 4
- 4
src/audio/analyze_notefreq.cpp View File

@@ -20,10 +20,10 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_notefreq.h"
#include "utility/dspinst.h"
#include "arm_math.h"
#include <core/Arduino.h>
#include "audio/analyze_notefreq.h"
#include "audio/utility/dspinst.h"
#include <core/arm_math.h>

#define HALF_BLOCKS AUDIO_GUITARTUNER_BLOCKS * 64


+ 2
- 2
src/audio/analyze_peak.cpp View File

@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_peak.h"
#include <core/Arduino.h>
#include "audio/analyze_peak.h"

void AudioAnalyzePeak::update(void)
{

+ 2
- 2
src/audio/analyze_print.cpp View File

@@ -24,8 +24,8 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_print.h"
#include <core/Arduino.h>
#include "audio/analyze_print.h"

#define STATE_IDLE 0 // doing nothing
#define STATE_WAIT_TRIGGER 1 // looking for trigger condition

+ 3
- 3
src/audio/analyze_rms.cpp View File

@@ -25,9 +25,9 @@
*/


#include <Arduino.h>
#include "analyze_rms.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include "audio/analyze_rms.h"
#include "audio/utility/dspinst.h"

void AudioAnalyzeRMS::update(void)
{

+ 3
- 3
src/audio/analyze_tonedetect.cpp View File

@@ -24,9 +24,9 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "analyze_tonedetect.h"
#include "utility/dspinst.h"
#include <core/Arduino.h>
#include "audio/analyze_tonedetect.h"
#include "audio/utility/dspinst.h"

#if defined(__ARM_ARCH_7EM__)


+ 4
- 4
src/audio/async_input_spdif3.cpp View File

@@ -28,11 +28,11 @@
*/
#if defined(__IMXRT1052__) || defined(__IMXRT1062__)

#include "async_input_spdif3.h"
#include "output_spdif3.h"
#include "audio/async_input_spdif3.h"
#include "audio/output_spdif3.h"

#include "biquad.h"
#include <utility/imxrt_hw.h>
#include "audio/biquad.h"
#include "audio/utility/imxrt_hw.h"
//Parameters
namespace {
#define SPDIF_RX_BUFFER_LENGTH AUDIO_BLOCK_SAMPLES

+ 4
- 4
src/audio/control_ak4558.cpp View File

@@ -4,10 +4,10 @@
* Copyright 2015, Michele Perla
*
*/
#include <Arduino.h>
#include "control_ak4558.h"
#include "Wire.h"
#include <core/Arduino.h>
#include "audio/control_ak4558.h"
#include "wire/Wire.h"

void AudioControlAK4558::initConfig(void)
{

+ 3
- 3
src/audio/control_cs42448.cpp View File

@@ -24,9 +24,9 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "control_cs42448.h"
#include "Wire.h"
#include <core/Arduino.h>
#include "audio/control_cs42448.h"
#include <wire/Wire.h>


#define CS42448_Chip_ID 0x01

+ 3
- 3
src/audio/control_cs4272.cpp View File

@@ -27,9 +27,9 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "control_cs4272.h"
#include "Wire.h"
#include <core/Arduino.h>
#include "audio/control_cs4272.h"
#include "wire/Wire.h"

#define CS4272_ADDR 0x10 // TODO: need to double check


+ 3
- 3
src/audio/control_sgtl5000.cpp View File

@@ -24,9 +24,9 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include "control_sgtl5000.h"
#include "Wire.h"
#include <core/Arduino.h>
#include "audio/control_sgtl5000.h"
#include "wire/Wire.h"

#define CHIP_ID 0x0000
// 15:8 PARTID 0xA0 - 8 bit identifier for SGTL5000

+ 2
- 2
src/audio/control_tlv320aic3206.cpp View File

@@ -7,8 +7,8 @@
License: MIT License. Use at your own risk.
*/

#include "control_tlv320aic3206.h"
#include <Wire.h>
#include "audio/control_tlv320aic3206.h"
#include <wire/Wire.h>

//******************************** Constants *******************************//


+ 0
- 0
src/audio/control_wm8731.cpp View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save