turn volume slider into mix slider

it's far more useful
This commit is contained in:
tildearrow 2025-10-30 01:30:48 -05:00
parent a6d06d3728
commit 64b8a8f714
4 changed files with 49 additions and 13 deletions

View file

@ -55,6 +55,7 @@ class DivFilePlayer {
bool fileError;
bool quitThread;
bool threadHasQuit;
bool isActive;
std::thread* cacheThread;
std::mutex cacheMutex;
@ -89,6 +90,8 @@ class DivFilePlayer {
void setOutputRate(int rate);
float getVolume();
void setVolume(float vol);
bool getActive();
void setActive(bool active);
DivFilePlayer();
~DivFilePlayer();