Giter Site home page Giter Site logo

Comments (16)

iXab3r avatar iXab3r commented on June 26, 2024 1

hi guys, got back from vacation, working on it

from micswitch.

iXab3r avatar iXab3r commented on June 26, 2024 1

should be fixed in 252, please reopen if it occurs again

from micswitch.

AngryJKirk avatar AngryJKirk commented on June 26, 2024

Same issue here
1.0.240.0 is working fine, so the bug occurred since the 1.0.242.0

from micswitch.

Hansworst85 avatar Hansworst85 commented on June 26, 2024

Same

from micswitch.

Playnot avatar Playnot commented on June 26, 2024

Same for me, except every device (microphone and playback) goes to 0.
Was on same Windows version, but the problem is also present on 19045.2364

from micswitch.

Jasongt93 avatar Jasongt93 commented on June 26, 2024

Same here... issue on 1.0.242.0

from micswitch.

iXab3r avatar iXab3r commented on June 26, 2024

Done the change, if you can - please help me to test it out, I'll publish new release to github as soon as will be sure that it's stable, probably on a weekend https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.248.exe

from micswitch.

im1x avatar im1x commented on June 26, 2024

Done the change, if you can - please help me to test it out, I'll publish new release to github as soon as will be sure that it's stable, probably on a weekend https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.248.exe

This breaks the volume control. When I change the volume it jumps back to the old level.
PvnXSl4wT7

from micswitch.

iXab3r avatar iXab3r commented on June 26, 2024

got it, thanks
created new issue - it's not really related to this bug as I've not touched how Output volume control is working
#101

from micswitch.

im1x avatar im1x commented on June 26, 2024

got it, thanks created new issue - it's not really related to this bug as I've not touched how Output volume control is working #101

No, this problem is only in 1.0.248, 1.0.240 and 1.0.242 don't have it, I just checked it.

from micswitch.

im1x avatar im1x commented on June 26, 2024

Done the change, if you can - please help me to test it out, I'll publish new release to github as soon as will be sure that it's stable, probably on a weekend https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.248.exe

Found another problem. When you start the program, it sets the volume and microphone level as it was when you last exited the program.
For example:

  1. The program is running and the volume and microphone are set to 10%;
  2. Close the program;
  3. Change the volume and microphone level by 30%;
  4. Run the program and it will change the levels by 10%;
    9QSEZuPFcs

from micswitch.

iXab3r avatar iXab3r commented on June 26, 2024

Not a problem - this is an expected behaviour, I've described why it was done this way in Discord:

background of this problem is the following: consider you have multiple devices which ALL have their own Mute/Volume states. If you work with a single device getting and setting Volume and Mute state is trivial, but as soon as there are >1 devices involved it gets tricky as it becomes possible that their state will be desynced with each other thus making it not possible to calculate "combined" correct state of either of these values.

Previous solution was obviously wrong and it simply took minimum volume of all devices and propagated it to all other devices as well. This does not work well in way too many cases.
Current solution will be the following:

  1. if you control a single mic it's all good, I simply take Mute/Volume right from device
  2. if you switch to All devices from a single mic the I will take Mute/Volume of previously selected device and propagate it to all devices
  3. if you start a program with "All devices" being previously selected I will take Mute/Volume of FIRSTdevice in the list which is usually the oldest device installed to the system and it's Mute/Volume state will be propagated to other devices

There is an alternative way for #3 - I can remember last settings that were used and apply them on startup, but I do not think that it is better that my proposal above because it may mess up changes that you've made manually while program was not running
I think I'll go with alternative - i.e. if Volume Control is enabled MicSwitch will apply latest seen Volume to all devices on app start, in combination with option "Initial Mic State" it seems to be quite logical approach

from micswitch.

im1x avatar im1x commented on June 26, 2024

Not a problem - this is an expected behaviour, I've described why it was done this way in Discord:

background of this problem is the following: consider you have multiple devices which ALL have their own Mute/Volume states. If you work with a single device getting and setting Volume and Mute state is trivial, but as soon as there are >1 devices involved it gets tricky as it becomes possible that their state will be desynced with each other thus making it not possible to calculate "combined" correct state of either of these values.

Previous solution was obviously wrong and it simply took minimum volume of all devices and propagated it to all other devices as well. This does not work well in way too many cases. Current solution will be the following:

  1. if you control a single mic it's all good, I simply take Mute/Volume right from device
  2. if you switch to All devices from a single mic the I will take Mute/Volume of previously selected device and propagate it to all devices
  3. if you start a program with "All devices" being previously selected I will take Mute/Volume of FIRSTdevice in the list which is usually the oldest device installed to the system and it's Mute/Volume state will be propagated to other devices

There is an alternative way for #3 - I can remember last settings that were used and apply them on startup, but I do not think that it is better that my proposal above because it may mess up changes that you've made manually while program was not running I think I'll go with alternative - i.e. if Volume Control is enabled MicSwitch will apply latest seen Volume to all devices on app start, in combination with option "Initial Mic State" it seems to be quite logical approach

Thanks for the detailed answer. You're right. It makes sense.

from micswitch.

iXab3r avatar iXab3r commented on June 26, 2024

Next iteration of changes (volume control stuttering is still there, do not consider it a blocker and will address) - https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.249.exe

from micswitch.

im1x avatar im1x commented on June 26, 2024

Next iteration of changes (volume control stuttering is still there, do not consider it a blocker and will address) - https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.249.exe

It works well. I didn't find any problems.

from micswitch.

im1x avatar im1x commented on June 26, 2024

Next iteration of changes (volume control stuttering is still there, do not consider it a blocker and will address) - https://eyeauras.blob.core.windows.net/shared/MicSwitchSetup.1.0.249.exe

An error has occurred. Error after waking PC from sleep mode. Most likely the error is related to updating the list of media devices (the monitor is connected via HDMI)
MicSwitch_1.0.249.0_release_202301081434495lbuRWqjQ7EH.zip

from micswitch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.