fix: play with rate of mp3 file

This commit is contained in:
2026-03-22 07:37:27 +01:00
parent b14ea02694
commit b0f6d6d5c9
3 changed files with 16 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ private:
std::unique_ptr<std::thread> musicFeed;
std::atomic<bool> exitMusicFeedThread;
int android_fd;
std::atomic<bool> haveTimeRatio;
double timeRatio;
void initRubberBand();
void closeRubberBand();
void closeMusicFile();