Fix for aux configuration not being persistent on reconnections #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using the device ID, the selection is not persistent after removing the vita from the dock and reconnecting it. (i.e. audio works on initial setup but reconnecting the vita produces no sound.) This is because the device ID of the usb audio input adapter changes between reconnections. Changing this to use the device name instead fixed this issue in my setup. I was using the audio out from the official Vita 1000 dock from Sony, and the Sonos stereo line-in aux to usb-c adapter, with a usb-c to usb-a adapter on my rpi 4 when the issue occured. (This is my first github commit, sorry if I did any of it wrong).