Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct compile errors
  • Loading branch information
pschatzmann committed Oct 4, 2024
commit 04d7e4bfbd0edcbf98e74ce9ec34acd910a57728
315 changes: 315 additions & 0 deletions examples/build-examples-log.txt

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion examples/build-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ compile_example "esp32:esp32:esp32" "../examples/examples-communication/http-ser
compile_example "esp32:esp32:esp32" "../examples/tests/adc/*"
compile_example "esp32:esp32:esp32" "../examples/tests/basic/*"
compile_example "esp32:esp32:esp32" "../examples/tests/codecs/*"
compile_example "esp32:esp32:esp32" "../examples/tests/communications/*"
compile_example "esp32:esp32:esp32" "../examples/tests/concurrency/*"
compile_example "esp32:esp32:esp32" "../examples/tests/conversion/*"
compile_example "esp32:esp32:esp32" "../examples/tests/effects/*"
Expand Down
8 changes: 5 additions & 3 deletions src/AudioConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@
#endif

#define AUDIOTOOLS_VERSION "1.0.0"
#define AUDIOTOOLS_MAJOR_VERSION 1
#define AUDIOTOOLS_MIOR_VERSION 0

// Automatically include all basic functionality
#ifndef AUDIO_AUTOINCLUDE_BASIC
# define AUDIO_AUTOINCLUDE_BASIC true
// Automatically include all core audio functionality
#ifndef AUDIO_INCLUDE_CORE
# define AUDIO_INCLUDE_CORE true
#endif

// Use fixed point multiplication instead float for VolumeStream for slightly better performance on platforms without float hardware. Tested on RP2040 at 16 bit per second (still too slow for 32bit)
Expand Down
4 changes: 2 additions & 2 deletions src/AudioTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

#include "AudioConfig.h"

#if AUDIO_AUTOINCLUDE_BASIC
#if AUDIO_INCLUDE_CORE

#ifdef USE_CONCURRENCY
#include "AudioTools/AudioLibs/Concurrency.h"
Expand Down Expand Up @@ -111,7 +111,7 @@
# include "AudioTools/CoreAudio/AudioEffects/Synthesizer.h"
#endif

#endif // AUDIO_AUTOINCLUDE_BASIC
#endif // AUDIO_INCLUDE_CORE

/**
* -------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/AudioTools/AudioLibs/AudioKissFFT.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class FFTDriverKissFFT : public FFTDriver {
bool getBin(int pos, FFTBin &bin) override {
if (pos>=len) return false;
bin.real = p_data[pos].r;
bin.img = p_data[idx].i;
bin.img = p_data[pos].i;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/AudioTools/AudioLibs/AudioSTK.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "AudioConfig.h"
#include "AudioEffects/AudioEffect.h"
#include "AudioTools/CoreAudio/AudioEffects/AudioEffect.h"
#ifdef ESP32
# include "freertos/FreeRTOS.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/AudioTools/CoreAudio/AudioStreams.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "AudioTools/CoreAudio/Buffers.h"
#include "AudioTools/CoreAudio/AudioLogger.h"
#include "AudioTools/CoreAudio/BaseConverter.h"
#include "AudioEffects/SoundGenerator.h"
#include "AudioTools/CoreAudio/AudioEffects/SoundGenerator.h"
#include "AudioTools/CoreAudio/BaseStream.h"

#ifndef IRAM_ATTR
Expand Down
2 changes: 1 addition & 1 deletion src/AudioTools/Sandbox/CodecGGWave.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "AudioTools/AudioCodecs/AudioEncoded.h"
#include "AudioTools/CoreAudio/Buffers.h"
#include "AudioEffects/SoundGenerator.h"
#include "AudioTools/CoreAudio/AudioEffects/SoundGenerator.h"
#include <ggwave.h>

#define GGWAVE_DEFAULT_SAMPLE_RATE 48000
Expand Down