Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selectable audio device defaulting #32

Closed
MasterRahool opened this issue Oct 3, 2022 · 10 comments · Fixed by #7
Closed

Selectable audio device defaulting #32

MasterRahool opened this issue Oct 3, 2022 · 10 comments · Fixed by #7
Labels
bug Something isn't working

Comments

@MasterRahool
Copy link
Contributor

MasterRahool commented Oct 3, 2022

This may just be because I use an EQ software and a weird glitch, but this feature reverts to Default Device constantly. For example, if I open MIDI Setup to verify a bitrate, my selected device will reset. Sometimes I look up and see it just randomly went back to default from my chosen DAC. Really wish there was a way to make it stick to my DAC.

v1.1 build 7/beta 4

@vincentneo
Copy link
Owner

@MasterRahool does macOS also revert to another device also? Or just LosslessSwitcher?

@MasterRahool
Copy link
Contributor Author

MasterRahool commented Nov 4, 2022

@MasterRahool does macOS also revert to another device also? Or just LosslessSwitcher?

Technically when this happens only LosslessSwitcher is changing from selected to default, there's no interruption in my listening, but I suspect the OS is rechecking the device in the background

i did a test, with the EQ software killed so eliminate that variable. LosslessSwitcher is selected to my DAC, and in the OS I'm outputting to my display. I toggle back n forth between my dac and display as outputs, and LS stays on selected (my dac). I then click on Airplay, and LS switches to default device.

Screenshot 2022-11-04 at 12 51 07 PM

I think something similar is happening with my EQ, the OS rechecks and routes to the EQ (a virtual device) and then LS stumbles back to Default from Selected

@vincentneo
Copy link
Owner

Probably not easy to fix, I reckon.

@vincentneo vincentneo added the bug Something isn't working label Nov 6, 2022
@vincentneo
Copy link
Owner

Hi @MasterRahool,

Please try build 9 (https://github.com/vincentneo/LosslessSwitcher/releases/tag/1.1.0-beta6), and update me if this helps. Thanks!

@vincentneo vincentneo linked a pull request Nov 16, 2022 that will close this issue
@MasterRahool
Copy link
Contributor Author

MasterRahool commented Nov 16, 2022

Hi @MasterRahool,

Please try build 9 (https://github.com/vincentneo/LosslessSwitcher/releases/tag/1.1.0-beta6), and update me if this helps. Thanks!

Sorry to report but it didnt work at all. Wasn't switching at all for me at first. I was constantly trying different bitrate tracks and then checking switcher to see if the device or rate changed, and I did notice it was now (sometimes) selecting both my DAC and default at once

Screenshot 2022-11-16 at 11 07 01 AM

but even then it wasn't switching properly when it suddenly would trigger. I even had an issue where I finally got it to go from 44 to 192, then I selected another 192k track and it went back to 44.1 as if it only liked some 192 albums and not others :/

Screenshot 2022-11-16 at 11 08 17 AM

I've personally gone back to Build 7 so the switching part at least functions fine (I noted build 8 was giving me a headache)

@vincentneo
Copy link
Owner

@MasterRahool,

Please try out build 10, which is basically build 9, without the #30 build 8 AppleScript addition, so that we could narrow down the issue, in case its brought in by #30.

It is in the same beta 6 link.

@MasterRahool
Copy link
Contributor Author

@MasterRahool,

Please try out build 10, which is basically build 9, without the #30 build 8 AppleScript addition, so that we could narrow down the issue, in case its brought in by #30.

It is in the same beta 6 link.

Functionally its operating like build 7 for me, that is, switching fine when my device is selected

On first run I noticed the same "dac and default both checked"

Screenshot 2022-11-16 at 11 47 55 AM

As for staying on the selected device, I found no difference. If I opened up MIDI, it would switch from my dac back to default (which is my EQ), and tracks would stop switching until I manually selected the DAC again

I tested again with the EQ software off like in my previous description, and then changed my system audio to an Airplay device, and LosslessSwitcher also changed to Airplay from my DAC (ie, to system default and didnt stay on my dac)

Screenshot 2022-11-16 at 11 57 12 AM

but had check boxes on both default and dac again

@MasterRahool
Copy link
Contributor Author

MasterRahool commented Nov 17, 2022

RE: Build 11

Only testing on my laptop right now, but doing the toggle test between macbook speakers (selected) and multiple airplay (default) devices, and so far it's working fine. Going into MIDI settings didnt reset it to default like before, and the macbook speakers were changing properly even with MIDI open.

Screenshot 2022-11-17 at 1 14 16 AM

And this is with my EQ running, so it competing for attention isnt changing anything.

I also noticed a new improvement I guess you added? Now when opening LLS it remembers my selected device. One less thing to fuss about!

I'll update if there's a behavior change with my DAC

@MasterRahool
Copy link
Contributor Author

MasterRahool commented Nov 17, 2022

  • Killing the EQ (while its selected) and checking LLS, its still selected as the device. Rebooting the EQ and it stays selected proper. Figure this is the equivalent of the 'unplugging it' test you wanted.
  • Tried toggling devices to make it screw up, not biting, no errors
  • Unplugged my monitor/dac (thunderbolt chaining everything) and it stopped selecting the dac (because it wasnt plugged in). Plugging the cable back in and LLS goes back to having my dac selected.

So @vincentneo so far looking solid, can't find an issue. Can now set & forget, big QoL upgrade for my use.

@vincentneo
Copy link
Owner

Glad to hear! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants