marshalling on sessions, missing override tag
This commit is contained in:
parent
cdde1ce9b8
commit
667482cfea
10 changed files with 57 additions and 15 deletions
|
|
@ -82,6 +82,7 @@ class Endpoint {
|
|||
void unregisterNewSessionNotification(EndpointNewSessionCallback* ensc);
|
||||
void deleteSessions();
|
||||
void activateEndpointSessions();
|
||||
std::mutex endpointSessionsMutex;
|
||||
~Endpoint();
|
||||
|
||||
private:
|
||||
|
|
@ -185,16 +186,26 @@ class Overseer {
|
|||
};
|
||||
|
||||
class EndpointNewSessionCallback : public IAudioSessionNotification {
|
||||
private:
|
||||
struct SessionThreadParams;
|
||||
|
||||
public:
|
||||
EndpointNewSessionCallback(EndpointHandler *eph);
|
||||
ULONG AddRef();
|
||||
ULONG Release();
|
||||
HRESULT QueryInterface(REFIID riid, VOID **ppvInterface);
|
||||
HRESULT OnSessionCreated(IAudioSessionControl *NewSession);
|
||||
static void createSessionThread(SessionThreadParams params);
|
||||
|
||||
private:
|
||||
ULONG ref = 1;
|
||||
EndpointHandler *eph;
|
||||
|
||||
struct SessionThreadParams {
|
||||
EndpointHandler *eph;
|
||||
Session *session;
|
||||
bool isDelete;
|
||||
};
|
||||
};
|
||||
|
||||
namespace Environment {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue