jjzjj

audioSessionControl

全部标签

c++ - 调用 GetDisplayName 返回与 GetIconPath 相同的结果

我目前有这段代码,遍历默认设备(未显示)的AudioSession控件:intsessionCount;hr=audioSessionEnumerator->GetCount(&sessionCount);if(FAILED(hr)){throwHRESULTException("audioSessionEnumerator->GetCount",hr);}IAudioSessionControl*audioSessionControl;for(inti=0;iGetSession(i,&audioSessionControl);if(FAILED(hr)){throwHRESULTE