v0.6.200
This commit is contained in:
@@ -3614,7 +3614,7 @@ void Audio::showstreamtitle(const char* ml) {
|
||||
}
|
||||
free(sTit);
|
||||
}
|
||||
|
||||
sTit_remember = 0;
|
||||
idx1 = indexOf(ml, "StreamUrl=", 0);
|
||||
idx2 = indexOf(ml, ";", idx1);
|
||||
if(idx1 >= 0 && idx2 > idx1){ // StreamURL found
|
||||
@@ -4246,7 +4246,7 @@ void Audio::setBalance(int8_t bal){ // bal -16...16
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void Audio::setVolume(uint8_t vol) { // vol 22 steps, 0...21
|
||||
if(vol > 255) vol = 255;
|
||||
if(vol > 255) vol = 254;
|
||||
//volume = map(eeprom_config.volume, 0, 21, 0, 255);
|
||||
//m_vol = map(vol, 0, 254, 0, 64);
|
||||
m_vol = vol;
|
||||
|
||||
@@ -185,7 +185,8 @@ public:
|
||||
uint32_t getAudioFileDuration();
|
||||
uint32_t getAudioCurrentTime();
|
||||
uint32_t getTotalPlayingTime();
|
||||
|
||||
void setDefaults();
|
||||
|
||||
esp_err_t i2s_mclk_pin_select(const uint8_t pin);
|
||||
uint32_t inBufferFilled(); // returns the number of stored bytes in the inputbuffer
|
||||
uint32_t inBufferFree(); // returns the number of free bytes in the inputbuffer
|
||||
@@ -197,7 +198,7 @@ private:
|
||||
void UTF8toASCII(char* str);
|
||||
bool latinToUTF8(char* buff, size_t bufflen);
|
||||
void httpPrint(const char* url);
|
||||
void setDefaults(); // free buffers and set defaults
|
||||
//void setDefaults(); // free buffers and set defaults
|
||||
void initInBuff();
|
||||
void processLocalFile();
|
||||
void processWebStream();
|
||||
|
||||
Reference in New Issue
Block a user