-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I have a couple of questions for ya jonib.
why is it that you package a tlb file with AudioEndPointCtrl?
I was looking at the generated MMDeviceAPILib.py and couldn't this be simply packaged with AudioEndpoint?
there is only a few lines in the file that has to be changed. would be the import of stdole to the code below and then you can have comtypes generate the stdole file and you package that also. and change the import stdole back
try:
import stdole
except:
from comtypes.client import GetModule
GetModule("stdole2.tlb")
import comtypes.gen.stdole as stdole
you would also need to remove the lines below from both the MMDeviceAPILib as well as stdole.
from comtypes import _check_version; _check_version('501')
I have not tested this with anything other then Windows 7 But i do not think that Microsoft has changed the API on anything like the GUID's/UUID's they may have changed some of the parameters but these can be dealt with at the code level. then you would have a pure python implementation