fix: fixed repeat and gain for small speaker
This commit is contained in:
@@ -44,3 +44,8 @@ libraries scanning project source files.
|
||||
|
||||
More information about PlatformIO Library Dependency Finder
|
||||
- https://docs.platformio.org/page/librarymanager/ldf.html
|
||||
|
||||
|
||||
update submodules force
|
||||
|
||||
$git submodule update --init --force --remote
|
||||
@@ -82,7 +82,7 @@ void handleAudio()
|
||||
if (!mp3->loop())
|
||||
{
|
||||
//mp3->stop();
|
||||
if(n++ > AUDIOREPEATS)
|
||||
if(n++ >= AUDIOREPEATS)
|
||||
{
|
||||
i++;
|
||||
n= 0;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "AudioFileSourceID3.h"
|
||||
#include "AudioOutputI2S.h"
|
||||
|
||||
#define AUDIOGAIN 0.1
|
||||
#define AUDIOGAIN 1
|
||||
#define AUDIONSONGS 3
|
||||
#define AUDIOREPEATS 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user