wip: endpoint meter

This commit is contained in:
Hane 2024-04-30 21:30:58 +02:00
commit 6bda4702df
7 changed files with 41 additions and 11 deletions

View file

@ -30,6 +30,7 @@ class Endpoint {
void removeRoles(Roles role);
void setFlow();
Flows getFlow();
float getPeakVolume();
std::wstring getId();
std::wstring getName();
void updateName();
@ -66,7 +67,7 @@ class Endpoint {
unsigned long endpointState;
Roles endpointRoles = (Roles)0;
uint64_t idx;
//Not implemented in llvm-mingw. Sad!
//Not implemented in llvm-mingw. Sad! todo: mingw patch
IAudioMeterInformation *endpointPeakMeter = nullptr;
};