Browse Source

Include Arduino.h first in all cpp files, for precompiled header speedup

dds
PaulStoffregen 6 years ago
parent
commit
8fb976cf20
57 changed files with 58 additions and 1 deletions
  1. +1
    -0
      analyze_fft1024.cpp
  2. +1
    -0
      analyze_fft256.cpp
  3. +1
    -0
      analyze_notefreq.cpp
  4. +1
    -0
      analyze_peak.cpp
  5. +1
    -0
      analyze_print.cpp
  6. +1
    -0
      analyze_rms.cpp
  7. +1
    -0
      analyze_tonedetect.cpp
  8. +2
    -1
      control_ak4558.cpp
  9. +1
    -0
      control_cs42448.cpp
  10. +1
    -0
      control_cs4272.cpp
  11. +1
    -0
      control_sgtl5000.cpp
  12. +1
    -0
      control_wm8731.cpp
  13. +1
    -0
      effect_bitcrusher.cpp
  14. +1
    -0
      effect_chorus.cpp
  15. +1
    -0
      effect_delay.cpp
  16. +1
    -0
      effect_delay_ext.cpp
  17. +1
    -0
      effect_envelope.cpp
  18. +1
    -0
      effect_fade.cpp
  19. +1
    -0
      effect_flange.cpp
  20. +1
    -0
      effect_midside.cpp
  21. +1
    -0
      effect_multiply.cpp
  22. +1
    -0
      effect_reverb.cpp
  23. +1
    -0
      effect_waveshaper.cpp
  24. +1
    -0
      filter_biquad.cpp
  25. +1
    -0
      filter_fir.cpp
  26. +1
    -0
      filter_variable.cpp
  27. +1
    -0
      input_adc.cpp
  28. +1
    -0
      input_adcs.cpp
  29. +1
    -0
      input_i2s.cpp
  30. +1
    -0
      input_i2s_quad.cpp
  31. +1
    -0
      input_tdm.cpp
  32. +1
    -0
      mixer.cpp
  33. +1
    -0
      output_adat.cpp
  34. +1
    -0
      output_dac.cpp
  35. +1
    -0
      output_dacs.cpp
  36. +1
    -0
      output_i2s.cpp
  37. +1
    -0
      output_i2s_quad.cpp
  38. +1
    -0
      output_pt8211.cpp
  39. +1
    -0
      output_pwm.cpp
  40. +1
    -0
      output_spdif.cpp
  41. +1
    -0
      output_tdm.cpp
  42. +1
    -0
      play_memory.cpp
  43. +1
    -0
      play_queue.cpp
  44. +1
    -0
      play_sd_raw.cpp
  45. +1
    -0
      play_sd_wav.cpp
  46. +1
    -0
      play_serialflash_raw.cpp
  47. +1
    -0
      record_queue.cpp
  48. +1
    -0
      spi_interrupt.cpp
  49. +1
    -0
      synth_dc.cpp
  50. +1
    -0
      synth_karplusstrong.cpp
  51. +1
    -0
      synth_pinknoise.cpp
  52. +1
    -0
      synth_pwm.cpp
  53. +1
    -0
      synth_simple_drum.cpp
  54. +1
    -0
      synth_sine.cpp
  55. +1
    -0
      synth_tonesweep.cpp
  56. +1
    -0
      synth_waveform.cpp
  57. +1
    -0
      synth_whitenoise.cpp

+ 1
- 0
analyze_fft1024.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


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

+ 1
- 0
analyze_fft256.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


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

+ 1
- 0
analyze_notefreq.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


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

+ 1
- 0
analyze_peak.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "analyze_peak.h" #include "analyze_peak.h"


void AudioAnalyzePeak::update(void) void AudioAnalyzePeak::update(void)

+ 1
- 0
analyze_print.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "analyze_print.h" #include "analyze_print.h"


#define STATE_IDLE 0 // doing nothing #define STATE_IDLE 0 // doing nothing

+ 1
- 0
analyze_rms.cpp View File

*/ */




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



+ 1
- 0
analyze_tonedetect.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


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



+ 2
- 1
control_ak4558.cpp View File

* *
*/ */
#include <Arduino.h>
#include "control_ak4558.h" #include "control_ak4558.h"
#include "Wire.h" #include "Wire.h"


Serial.println(registers[AK4558_ROUT_VOL], BIN); Serial.println(registers[AK4558_ROUT_VOL], BIN);
#endif #endif
return ret; return ret;
}
}

+ 1
- 0
control_cs42448.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "control_cs42448.h" #include "control_cs42448.h"
#include "Wire.h" #include "Wire.h"



+ 1
- 0
control_cs4272.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "control_cs4272.h" #include "control_cs4272.h"
#include "Wire.h" #include "Wire.h"



+ 1
- 0
control_sgtl5000.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "control_sgtl5000.h" #include "control_sgtl5000.h"
#include "Wire.h" #include "Wire.h"



+ 1
- 0
control_wm8731.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "control_wm8731.h" #include "control_wm8731.h"
#include "Wire.h" #include "Wire.h"



+ 1
- 0
effect_bitcrusher.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_bitcrusher.h" #include "effect_bitcrusher.h"


void AudioEffectBitcrusher::update(void) void AudioEffectBitcrusher::update(void)

+ 1
- 0
effect_chorus.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_chorus.h" #include "effect_chorus.h"


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

+ 1
- 0
effect_delay.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_delay.h" #include "effect_delay.h"


void AudioEffectDelay::update(void) void AudioEffectDelay::update(void)

+ 1
- 0
effect_delay_ext.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_delay_ext.h" #include "effect_delay_ext.h"


//#define INTERNAL_TEST //#define INTERNAL_TEST

+ 1
- 0
effect_envelope.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_envelope.h" #include "effect_envelope.h"


#define STATE_IDLE 0 #define STATE_IDLE 0

+ 1
- 0
effect_fade.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_fade.h" #include "effect_fade.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
effect_flange.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_flange.h" #include "effect_flange.h"
#include "arm_math.h" #include "arm_math.h"



+ 1
- 0
effect_midside.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_midside.h" #include "effect_midside.h"


void AudioEffectMidSide::update(void) void AudioEffectMidSide::update(void)

+ 1
- 0
effect_multiply.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_multiply.h" #include "effect_multiply.h"


void AudioEffectMultiply::update(void) void AudioEffectMultiply::update(void)

+ 1
- 0
effect_reverb.cpp View File



// https://github.com/joaoRossiFilho/teensy_reverb // https://github.com/joaoRossiFilho/teensy_reverb


#include <Arduino.h>
#include "effect_reverb.h" #include "effect_reverb.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"
#include "math_helper.h" #include "math_helper.h"

+ 1
- 0
effect_waveshaper.cpp View File

* SOFTWARE. * SOFTWARE.
*/ */


#include <Arduino.h>
#include "effect_waveshaper.h" #include "effect_waveshaper.h"


AudioEffectWaveshaper::~AudioEffectWaveshaper() AudioEffectWaveshaper::~AudioEffectWaveshaper()

+ 1
- 0
filter_biquad.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "filter_biquad.h" #include "filter_biquad.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
filter_fir.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "filter_fir.h" #include "filter_fir.h"





+ 1
- 0
filter_variable.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "filter_variable.h" #include "filter_variable.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
input_adc.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "input_adc.h" #include "input_adc.h"
#include "utility/pdb.h" #include "utility/pdb.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"

+ 1
- 0
input_adcs.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "input_adcs.h" #include "input_adcs.h"
#include "utility/pdb.h" #include "utility/pdb.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"

+ 1
- 0
input_i2s.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "input_i2s.h" #include "input_i2s.h"
#include "output_i2s.h" #include "output_i2s.h"



+ 1
- 0
input_i2s_quad.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "input_i2s_quad.h" #include "input_i2s_quad.h"
#include "output_i2s_quad.h" #include "output_i2s_quad.h"



+ 1
- 0
input_tdm.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "input_tdm.h" #include "input_tdm.h"
#include "output_tdm.h" #include "output_tdm.h"
#if defined(KINETISK) #if defined(KINETISK)

+ 1
- 0
mixer.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "mixer.h" #include "mixer.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
output_adat.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_adat.h" #include "output_adat.h"


#if defined(KINETISK) #if defined(KINETISK)

+ 1
- 0
output_dac.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_dac.h" #include "output_dac.h"
#include "utility/pdb.h" #include "utility/pdb.h"



+ 1
- 0
output_dacs.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_dacs.h" #include "output_dacs.h"
#include "utility/pdb.h" #include "utility/pdb.h"



+ 1
- 0
output_i2s.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_i2s.h" #include "output_i2s.h"
#include "memcpy_audio.h" #include "memcpy_audio.h"



+ 1
- 0
output_i2s_quad.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_i2s_quad.h" #include "output_i2s_quad.h"
#include "memcpy_audio.h" #include "memcpy_audio.h"



+ 1
- 0
output_pt8211.cpp View File



//Adapted to PT8211, Frank Bösing, Ben-Rheinland //Adapted to PT8211, Frank Bösing, Ben-Rheinland


#include <Arduino.h>
#include "output_pt8211.h" #include "output_pt8211.h"
#include "memcpy_audio.h" #include "memcpy_audio.h"



+ 1
- 0
output_pwm.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_pwm.h" #include "output_pwm.h"


audio_block_t * AudioOutputPWM::block_1st = NULL; audio_block_t * AudioOutputPWM::block_1st = NULL;

+ 1
- 0
output_spdif.cpp View File



// 2015/08/23: (FB) added mute_PCM() - sets or unsets VALID in VUCP (and adjusts PARITY) // 2015/08/23: (FB) added mute_PCM() - sets or unsets VALID in VUCP (and adjusts PARITY)


#include <Arduino.h>
#include "output_spdif.h" #include "output_spdif.h"


#if defined(KINETISK) #if defined(KINETISK)

+ 1
- 0
output_tdm.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "output_tdm.h" #include "output_tdm.h"
#include "memcpy_audio.h" #include "memcpy_audio.h"
#if defined(KINETISK) #if defined(KINETISK)

+ 1
- 0
play_memory.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "play_memory.h" #include "play_memory.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
play_queue.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "play_queue.h" #include "play_queue.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
play_sd_raw.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "play_sd_raw.h" #include "play_sd_raw.h"
#include "spi_interrupt.h" #include "spi_interrupt.h"



+ 1
- 0
play_sd_wav.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "play_sd_wav.h" #include "play_sd_wav.h"
#include "spi_interrupt.h" #include "spi_interrupt.h"



+ 1
- 0
play_serialflash_raw.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "play_serialflash_raw.h" #include "play_serialflash_raw.h"
#include "spi_interrupt.h" #include "spi_interrupt.h"



+ 1
- 0
record_queue.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "record_queue.h" #include "record_queue.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
spi_interrupt.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "spi_interrupt.h" #include "spi_interrupt.h"


#ifdef SPI_HAS_NOTUSINGINTERRUPT #ifdef SPI_HAS_NOTUSINGINTERRUPT

+ 1
- 0
synth_dc.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_dc.h" #include "synth_dc.h"


void AudioSynthWaveformDc::update(void) void AudioSynthWaveformDc::update(void)

+ 1
- 0
synth_karplusstrong.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_karplusstrong.h" #include "synth_karplusstrong.h"


static uint32_t pseudorand(uint32_t lo) static uint32_t pseudorand(uint32_t lo)

+ 1
- 0
synth_pinknoise.cpp View File

// Use for any purpose. If used in a commercial product, you should give me one. // Use for any purpose. If used in a commercial product, you should give me one.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


#include <Arduino.h>
#include "synth_pinknoise.h" #include "synth_pinknoise.h"


int16_t AudioSynthNoisePink::instance_cnt = 0; int16_t AudioSynthNoisePink::instance_cnt = 0;

+ 1
- 0
synth_pwm.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_pwm.h" #include "synth_pwm.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
synth_simple_drum.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_simple_drum.h" #include "synth_simple_drum.h"


extern "C" { extern "C" {

+ 1
- 0
synth_sine.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_sine.h" #include "synth_sine.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"



+ 1
- 0
synth_tonesweep.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_tonesweep.h" #include "synth_tonesweep.h"
#include "arm_math.h" #include "arm_math.h"



+ 1
- 0
synth_waveform.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_waveform.h" #include "synth_waveform.h"
#include "arm_math.h" #include "arm_math.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"

+ 1
- 0
synth_whitenoise.cpp View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "synth_whitenoise.h" #include "synth_whitenoise.h"


// Park-Miller-Carta Pseudo-Random Number Generator // Park-Miller-Carta Pseudo-Random Number Generator

Loading…
Cancel
Save