This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

26 lines
397 B
C++

#ifndef AUDIODUMP_H
#define AUDIODUMP_H
#include<string>
#include"stdio.h"
#include"stdlib.h"
class AudioDump
{
public:
AudioDump() { }
void dump()
{
//system("amixer -c 1 get Master > " + audioDump);
command += audioDump;
system(command.c_str() );
}
private:
std::string command{"amixer -c 1 get Master > "};
std::string audioDump{"/usr/lib/AudioControl/audio.txt"};
};
#endif