/srv/irclogs.ubuntu.com/2022/05/13/#ubuntustudio-devel.txt

OvenWerksEickmeyer: I don't know if you have used the headphones functionality of controls, but from what I can see I have set it up wrong.14:59
EickmeyerOvenWerks: I haven't, my headphone jack on my audio interface is tied to outputs 1/2 or 3/4 using an A/B switch.15:00
OvenWerksRight now it is set up to always be ports 1 and 2 on a device.15:00
OvenWerksI think it should be set up like the main outs15:00
EickmeyerIt should, in most cases.15:00
EickmeyerThe switching between speaker/headphone should be done on the ALSA side, Jack shouldn't know any better.15:01
OvenWerksEickmeyer: for internal headphones, it is15:01
EickmeyerYeah.15:01
OvenWerksbut the internal device may not be system15:02
EickmeyerI see.15:02
EickmeyerBecause system is set to Jack Master.15:02
OvenWerksThat is, the user should be able to use a USB device for mains and then plugin their phones to the computer and the output should switch to PCH,0,0-out_1 and 215:03
OvenWerksif that is the device that is phones. or use the sound on their computer for main and plug a second usb phones in and have audio switch15:04
OvenWerksThis works if the output ports are 1 and 215:04
EickmeyerRight. I don't know why ALSA doesn't automagically do it in the first place. Seems like Pulse does something when directly connected to ALSA.15:06
OvenWerks However, as in your case, the phones could be 3/4 (or 9/10 in others) and then the manual phones switch should still work.15:06
OvenWerksYes pulse does and we do too. We mute mains (in two ways just in case) and unmute phones (in two ways just in case)15:07
OvenWerksWe also provide a scriptable switch method for those laptops that require something else15:08
OvenWerks(I have one as happens, but from research they are all different)15:09
OvenWerksEickmeyer: So, I think phones will have to be stored as jackport and the device will have to be plugged in and active just to set it up... or I will need two fields, one for device and the second for ports.15:33
EickmeyerSeems like this gets more complicated every time we look at it.15:34
OvenWerksnot really, I think it was just over simplified to begin with15:35
=== snd is now known as snd1
OvenWerksI really only considered two uses: internal and USB phones. Both of which are easy to handle. However, I have provided manual switching for cases outside of those two.15:36
OvenWerksand having provided that manual function (from the beginning), it should work in a useful manner15:37
EickmeyerI see.15:37
OvenWerksIn fact, I think really, this would be a case for studio-controls -p to just switch phones and exit so it could be tied to a global hot key.15:39
OvenWerksor to add to the utility I gave you for systray15:40
OvenWerksEickmeyer: are you using controls-cl as the name? If so, I think I will expand it and include it in studio-controls15:47
EickmeyerTBH, I haven't started working on it yet. I've been super busy with kubuntu focus. We've got the 4th generation laptop we're trying to get out the door, and it requires 22.04.15:48
OvenWerksso I could rename it to studio-cmd?15:49
EickmeyerYeah, that'd work.15:49
EickmeyerNothing you can do now would break anything for me15:49
OvenWerksOk, I will pull it into -controls under studio-cmd (as less likely to conflict with other packages) and add phones. If you ever do a systray applet, adding phones might be nice.15:56
OvenWerksI will set it up so it takes phones or no-phones rather than switch to whatever it is not. I will make the same change in -controls15:57
OvenWerksEickmeyer: in the error tracker, what does the uec-images tag mean?16:36
Eickmeyeruec-images? I'm not familiar.16:37
OvenWerksIt is the only permission denied I get for a real user.16:39
EickmeyerBest I could find, so I wouldn't worry about it: https://help.ubuntu.com/community/UEC/Images16:41
OvenWerksrunning on cloud not supported :)16:42
EickmeyerIndeed. XD16:42
OvenWerksI think I will check for a few things on startup. User 0, user < 1000, do I have write permission for config and log, etc17:14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!