i2s_position

This commit is contained in:
e2002
2022-12-26 17:42:37 +03:00
parent 7910bdeab5
commit 314d86e1ee
10 changed files with 30 additions and 6 deletions

View File

@@ -202,3 +202,8 @@ void audio_eof_mp3(const char *info){ //end of file
config.sdResumePos = 0;
player.play(random(1, config.store.countStation));
}
void audio_progress(uint32_t startpos, uint32_t endpos){
player.sd_min = startpos;
player.sd_max = endpos;
netserver.requestOnChange(SDLEN, 0);
}