wip: session meter
This commit is contained in:
parent
6bda4702df
commit
dc8951776f
7 changed files with 30 additions and 5 deletions
|
|
@ -33,6 +33,7 @@ class Session {
|
|||
Session(Endpoint* ep, IAudioSessionControl2* sessionControl) : Session(ep, sessionControl, SIZE_MAX) {};
|
||||
void setVolume(NGuid guid, int channel, float volume);
|
||||
float getVolume(int channel);
|
||||
float getPeakVolume();
|
||||
void setMute(NGuid guid, bool muted);
|
||||
bool getMute();
|
||||
SessionState getState();
|
||||
|
|
@ -51,6 +52,7 @@ class Session {
|
|||
SessionState sessionState;
|
||||
Endpoint* ep;
|
||||
IAudioSessionControl2* sessionControl = nullptr;
|
||||
IAudioMeterInformation* meterInformation = nullptr;
|
||||
ISimpleAudioVolume* sessionVolume = nullptr;
|
||||
size_t idx;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue