wip: meter bar

This commit is contained in:
Hane 2024-04-28 18:26:44 +02:00
commit 20a82b42d4
9 changed files with 104 additions and 36 deletions

View file

@ -52,7 +52,9 @@ class Endpoint {
std::vector<Session*> endpointSessions;
uint32_t channelCount = 0;
IMMDevice* endpoint;
IMMDevice *endpoint;
IAudioClient *audioClient;
int64_t defTime, minTime;
IAudioSessionManager2 *sessionManager;
Flows flow;
IAudioEndpointVolume *endpointVolume = nullptr;
@ -65,7 +67,7 @@ class Endpoint {
Roles endpointRoles = (Roles)0;
uint64_t idx;
//Not implemented in llvm-mingw. Sad!
//IAudioMeterInformation *endpointPeakMeter = nullptr;
IAudioMeterInformation *endpointPeakMeter = nullptr;
};