Changed the save path for the currentVolumn value

This commit is contained in:
amzing-username
2018-09-16 18:10:59 -04:00
parent 0777990b5e
commit 62db98fb90
2 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -3,6 +3,8 @@
#include<string>
using std::string;
class AudioInformation
{
public:
@@ -10,10 +12,13 @@ public:
unsigned short getVolume() const;
static string audioConfigPath;
private:
void stripInformation();
std::string audioInfoPath{"/usr/lib/AudioControl/audio.txt"};
string audioInfoPath;
string currentVolumnPath;
unsigned short volume = 0;
unsigned short count = 0;
const unsigned short MAXCOUNTS = 3;