Where do i find this modified plugin? Or if didn't released it here, can you send it to me please?Sem;colon wrote:with my modification of the system plugin,
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Library: AudioEndpointControl
Re: Library: AudioEndpointControl
Re: Library: AudioEndpointControl
Heretopix wrote:Where do i find this modified plugin? Or if didn't released it here, can you send it to me please?
jonib
Re: Library: AudioEndpointControl
aah, thanks. I thought that is the AudioEndPoint plugin.

In the next days i will test and integrate it.
In the next days i will test and integrate it.
Re: Library: AudioEndpointControl
Could you show me an example/situation for when .SetMute() has a problem with a non Boolean arg? I use both a 0 (zero) and 1 and there is no problem.Sem;colon wrote:.GetMute() returns an integer, not a boolean while .SetMute() needs Boolean. Otherwise I would have never done the "==1" stuff in the first place. But I changed it to this now:
jonib
Re: Library: AudioEndpointControl
hmm, no, sorry, I can't reproduce it any more (don't know what I did back then, but I remember getting an error or at least it wasn't working...)
Well, if integer is the way to go, I'm fine, I can change the plugin, but then I'd ask you to change OnNotify Notify.Muted to integer as well, for consistency, as this is Boolean.
Well, if integer is the way to go, I'm fine, I can change the plugin, but then I'd ask you to change OnNotify Notify.Muted to integer as well, for consistency, as this is Boolean.
Re: Library: AudioEndpointControl
OKSem;colon wrote:hmm, no, sorry, I can't reproduce it any more (don't know what I did back then, but I remember getting an error or at least it wasn't working...)
Apparently I typecast the result to Boolean, so I can remove that.Well, if integer is the way to go, I'm fine, I can change the plugin, but then I'd ask you to change OnNotify Notify.Muted to integer as well, for consistency, as this is Boolean.
The interesting thing is that the Windows API documentation declares it to be a Boolean and the comtypes API interface definition declares it as a Boolean but it still comes out as Integer, so it might be a bug in the comtypes library and might change in a later version.
So the question should we keep it as an integer that the API gives us or change it to Boolean? I kinda like it to be a Boolean as it seems more clear that Mute is True or False.
jonib
Re: Library: AudioEndpointControl
I agree, but if the system default is int somehow, so that's OK for me as well. It should just be consistent.jonib wrote:So the question should we keep it as an integer that the API gives us or change it to Boolean? I kinda like it to be a Boolean as it seems more clear that Mute is True or False.
So, from my point, whatever you prefer!
Re: Library: AudioEndpointControl
So it's defined as Boolean everywhere, I like it to Boolean so I'll make it Boolean, thanks for the input.Sem;colon wrote:I agree, but if the system default is int somehow, so that's OK for me as well. It should just be consistent.
So, from my point, whatever you prefer!
I'll try to fix the library based on the modifications done by topic2k today, so it can be used in EventGhost.
jonib

