Merge branch 'main' of github.com:akdeb/ElatoAI
This commit is contained in:
commit
39c40959cd
5 changed files with 1 additions and 15 deletions
|
|
@ -1,10 +1,4 @@
|
|||
#include <WebSocketsClient.h>
|
||||
#include "OTA.h"
|
||||
#include "Print.h"
|
||||
#include "Config.h"
|
||||
#include "AudioTools.h"
|
||||
// #include "AudioTools/Concurrency/RTOS.h"
|
||||
#include "AudioTools/AudioCodecs/CodecOpus.h"
|
||||
#include "Audio.h"
|
||||
#include "PitchShift.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
#ifndef AUDIO_H
|
||||
#define AUDIO_H
|
||||
|
||||
#include <WebSocketsClient.h>
|
||||
#include "Print.h"
|
||||
#include "AudioTools.h"
|
||||
#include "AudioTools/AudioCodecs/CodecOpus.h"
|
||||
// #include "AudioTools/Concurrency/RTOS.h"
|
||||
#include "Config.h"
|
||||
|
||||
extern SemaphoreHandle_t wsMutex;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include <driver/i2s.h>
|
||||
#include <Preferences.h>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
#ifndef PITCHSHIFT_H
|
||||
#define PITCHSHIFT_H
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "AudioTools.h"
|
||||
|
||||
//pitch shift effect with interpolaion fixed to 1.5 frequency factor, fixed delay, int16_t, 1 channel
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ void setupWiFi()
|
|||
webServer.on("/", HTTP_GET, [](AsyncWebServerRequest *request){
|
||||
request->redirect("/wifi");
|
||||
});
|
||||
webServer.onNotFound([&](AsyncWebServerRequest *request) {
|
||||
webServer.onNotFound([](AsyncWebServerRequest *request) {
|
||||
request->send(404, "text/plain", "Not found");
|
||||
});
|
||||
webServer.begin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue