turn volume slider into mix slider
it's far more useful
This commit is contained in:
parent
a6d06d3728
commit
64b8a8f714
4 changed files with 49 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue