mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
changed callbacks to use static_cast
This commit is contained in:
@ -15,16 +15,20 @@ class JACK : public ALabel {
|
||||
JACK(const std::string&, const Json::Value&);
|
||||
~JACK() = default;
|
||||
auto update() -> void;
|
||||
jack_nframes_t bufsize_;
|
||||
jack_client_t* client_;
|
||||
unsigned int xruns_;
|
||||
std::string state_;
|
||||
pthread_t jack_thread_;
|
||||
|
||||
int bufSize(unsigned int size);
|
||||
int xrun();
|
||||
void shutdown();
|
||||
|
||||
private:
|
||||
std::string JACKState();
|
||||
|
||||
jack_client_t* client_;
|
||||
jack_nframes_t bufsize_;
|
||||
jack_nframes_t samplerate_;
|
||||
unsigned int xruns_;
|
||||
std::string state_;
|
||||
pthread_t jack_thread_;
|
||||
util::SleeperThread thread_;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user