forked from xiaozhi/xiaozhi-esp32
rename files
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#include "WifiBoard.h"
|
||||
#include "BoxAudioDevice.h"
|
||||
|
||||
#include <esp_log.h>
|
||||
|
||||
#define TAG "LiChuangDevBoard"
|
||||
|
||||
class LiChuangDevBoard : public WifiBoard {
|
||||
public:
|
||||
virtual void Initialize() override {
|
||||
ESP_LOGI(TAG, "Initializing LiChuangDevBoard");
|
||||
WifiBoard::Initialize();
|
||||
}
|
||||
|
||||
virtual AudioDevice* CreateAudioDevice() override {
|
||||
return new BoxAudioDevice();
|
||||
}
|
||||
};
|
||||
|
||||
DECLARE_BOARD(LiChuangDevBoard);
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#define AUDIO_INPUT_SAMPLE_RATE 24000
|
||||
#define AUDIO_OUTPUT_SAMPLE_RATE 24000
|
||||
#define AUDIO_DEFAULT_OUTPUT_VOLUME 80
|
||||
#define AUDIO_DEFAULT_OUTPUT_VOLUME 90
|
||||
|
||||
#define AUDIO_INPUT_REFERENCE true
|
||||
|
||||
|
||||
20
main/boards/lichuang-dev/lichuang_dev_board.cc
Normal file
20
main/boards/lichuang-dev/lichuang_dev_board.cc
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "wifi_board.h"
|
||||
#include "box_audio_device.h"
|
||||
|
||||
#include <esp_log.h>
|
||||
|
||||
#define TAG "LichuangDevBoard"
|
||||
|
||||
class LichuangDevBoard : public WifiBoard {
|
||||
public:
|
||||
virtual void Initialize() override {
|
||||
ESP_LOGI(TAG, "Initializing LichuangDevBoard");
|
||||
WifiBoard::Initialize();
|
||||
}
|
||||
|
||||
virtual AudioDevice* CreateAudioDevice() override {
|
||||
return new BoxAudioDevice();
|
||||
}
|
||||
};
|
||||
|
||||
DECLARE_BOARD(LichuangDevBoard);
|
||||
Reference in New Issue
Block a user