wip: session meter
This commit is contained in:
parent
6bda4702df
commit
dc8951776f
7 changed files with 30 additions and 5 deletions
|
|
@ -294,6 +294,11 @@ void Endpoint::activateEndpointSessions() {
|
|||
for (int i = 0; i < sessionCount; i++) {
|
||||
IAudioSessionControl* sessionControlTmp;
|
||||
sessionEnumerator->GetSession(i, (IAudioSessionControl**)&sessionControlTmp);
|
||||
/*todo: borrar when donezo
|
||||
* float test2;
|
||||
* IAudioMeterInformation* ttmp = (IAudioMeterInformation*)sessionControlTmp;
|
||||
* ttmp->GetPeakValue(&test2);
|
||||
*/
|
||||
//todo:: asegurar lo del dynamic_cast
|
||||
IAudioSessionControl2* sessionControl;
|
||||
sessionControlTmp->QueryInterface(__uuidof(IAudioSessionControl2), (void**)&sessionControl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue