=== krytarik is now known as Guest15304 [01:20] Eickmeyer: it depends on the webcam. try cat /proc/asound/card?/stream0 where the card? is your webcam device name/number. paste it to me (add |pastebinit) [03:40] I’ll have to do that in the morning. [05:46] in case you are wondering, the webcam in question had a maximum SR of 32000. I had already started a fix that would allow zita-ajbridge to be run at the closest SR to the jack master that the device supported. [05:48] But with the code I have it would have picked up only the first "Rates:" line which as you can see in the bug is 16000. So I need to go through the whole file and read in all the Rates: lines and combine them. [05:50] This is actually the second user with this problem I have talked to. The first had a direct guitar to USB that was only 48000... no 44100 [05:51] This is actually the reason I bought the cheap (under $1) usb devices for testing. [05:51] I was able to reproduce the bug here by setting my jack master to 96000 and using one of these devices. [17:59] OvenWerks: Ok, so that's why. Jack doesn't like sample rate mismatch, so obvs would have to do an on-the-fly SR conversion. [18:00] Eickmeyer: actually zita-ajbridge just needs a rate that the device will work with [18:00] Jack doesn't care what zita does :) [18:01] Ok, so zita can do the SR conversion? [18:02] I do have a working update but was leaving it as a 20.04 feature. But this bug shows up a problem with that update even. [18:02] BTW, if this is a bugfix (which I would treat it as), we can push it to Eoan since it's not a "feature" per-se. [18:02] that is what we use zita for it's SRC [18:03] even two devices running at 48000 are not exactly 48000 one will be 48001 the other might be 47998 [18:04] Ah, good point. [18:06] The new code looks for the first line with "Rates:" in it. but the user's webcam mic has three Rates: lines each with a different rate rather than one line with all three [18:07] so I need to change the new code to collect the rates from all the lines :P [18:11] Ok [20:59] if you want to push it into 19.10 I will work on that next [22:11] Okay, let's do it. If it fixes the bug, then that's perfect. [22:11] OvenWerks ^ [22:11] (was offline, was finally getting wired internet installed) [22:12] Ah, well I will work on that, but not today. I need to get ready to go out... it is A) our aniversary and B) my son's birthday. [22:12] Happy Anniversary/birthday!