wip: heap corruption (3rd item main volume)
This commit is contained in:
parent
50789d8176
commit
780b546385
6 changed files with 107 additions and 52 deletions
|
|
@ -33,6 +33,7 @@ class Endpoint {
|
|||
|
||||
public:
|
||||
Endpoint(IMMDevice* endpoint, uint64_t idx);
|
||||
void reloadEndpointChannels();
|
||||
uint64_t getIndex();
|
||||
void setIndex(uint64_t idx);
|
||||
void setVolume(NGuid guid, int channel, float volume);
|
||||
|
|
@ -53,9 +54,11 @@ class Endpoint {
|
|||
~Endpoint();
|
||||
|
||||
private:
|
||||
void inline activateEndpointVolume();
|
||||
|
||||
uint32_t channelCount = 0;
|
||||
IMMDevice* endpoint;
|
||||
IAudioEndpointVolume *endpointVolume ;
|
||||
IAudioEndpointVolume *endpointVolume = nullptr;
|
||||
IPropertyStore *properties;
|
||||
std::wstring friendlyName;
|
||||
std::wstring endpointId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue