fix: sessionmanager life expired under my feet
This commit is contained in:
parent
9f7e7e30e2
commit
2a1b30e166
6 changed files with 58 additions and 22 deletions
|
|
@ -80,19 +80,19 @@ class Endpoint {
|
|||
void addSession(Session* session);
|
||||
void registerNewSessionNotification(EndpointNewSessionCallback* ensc);
|
||||
void unregisterNewSessionNotification(EndpointNewSessionCallback* ensc);
|
||||
|
||||
void deleteSessions();
|
||||
void activateEndpointSessions();
|
||||
~Endpoint();
|
||||
|
||||
private:
|
||||
void inline activateEndpointVolume();
|
||||
void inline activateEndpointSessions();
|
||||
|
||||
std::vector<Session*> endpointSessions;
|
||||
uint32_t channelCount = 0;
|
||||
IMMDevice *endpoint;
|
||||
IAudioClient *audioClient;
|
||||
int64_t defTime, minTime;
|
||||
IAudioSessionManager2 *sessionManager;
|
||||
IAudioSessionManager2 *sessionManager = nullptr;
|
||||
Flows flow;
|
||||
IAudioEndpointVolume *endpointVolume = nullptr;
|
||||
IPropertyStore *properties;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue