pinedev | Unsorted

Telegram-канал pinedev - PINE64 dev

-

pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix

Subscribe to a channel

PINE64 dev

[I] <m​egi> which is needed

Читать полностью…

PINE64 dev

[M] <Y​oda> could you put it on your download page next to the other ?

Читать полностью…

PINE64 dev

[M] <Y​oda> I assume thats what your pinephone-call-audio does for PP. Do you have one for PPP ?

Читать полностью…

PINE64 dev

[I] <m​egi> that's why I don't use UCM, and instead define states of all controls of the codec based on a target use case in a declarative manner and not in the procedural way of "change these controls when transitioninig to this state"

Читать полностью…

PINE64 dev

[I] <m​egi> it's just a big mess of undefined states

Читать полностью…

PINE64 dev

[I] <m​egi> it doesn't even configure any of the remaining hpo mix inputs to any particular state, other than povolr

Читать полностью…

PINE64 dev

[I] <m​egi> the one you shared leaves out a lot of controls, including many that would put random noise into HP output

Читать полностью…

PINE64 dev

[I] <m​egi> you will not hear anything if you basically just turn off the speaker

Читать полностью…

PINE64 dev

[M] <p​iggz> megi: i found that the control "HP R Playback Switch" seems responsible for the noise when trying to use the speaker ... the UCM turns this ON when activating the speaker, turning it off removes the noise .. though i still dont hear from the speaker

Читать полностью…

PINE64 dev

[M] <N​ewbyte> megi: thanks, so the strange name is intentional?

Читать полностью…

PINE64 dev

[M] <p​iggz> megi: these are the things that happen when enabling the speaker https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/blob/pro/sparse/usr/share/alsa/ucm2/PinePhonePro/VoiceCall.conf#L178

Читать полностью…

PINE64 dev

[I] <m​egi> it must be from somewhere else, it doesn't make sense to be affected by speaker on/off

Читать полностью…

PINE64 dev

[M] <p​iggz> ok, keep it in mind for when you get a chance ... the PPP speaker end is fine, but the noise from the mic is wful

Читать полностью…

PINE64 dev

[I] <m​egi> Newbyte: jack is created by simple-sound-card now, not by codec driver

Читать полностью…

PINE64 dev

[M] <p​iggz> (from the perspective of the other caller)

Читать полностью…

PINE64 dev

[I] <m​egi> not yet, I need to finish the testing and change the digital mic path to go via the second adc, because there's no way to control the DMIC gain independently from other analog inputs

Читать полностью…

PINE64 dev

[I] <m​egi> yes

Читать полностью…

PINE64 dev

[I] <m​egi> when you have all controls organized in a logical manner from input to output, and the target use cases mapped to control values via simple boolean expressions, it gets much easier to manage the complexity of routing all this: https://megous.com/dl/tmp/6415b4c94d55bc4b.png to satisfy various use cases

Читать полностью…

PINE64 dev

[I] <m​egi> noise can plauysibly can be comming in via 10 different paths with that UCM :D

Читать полностью…

PINE64 dev

[I] <m​egi> hpovolr

Читать полностью…

PINE64 dev

[I] <m​egi> it has recmixr input on out mixr enabled, it doesn't configure any other inputs of out mixr to any particular state, it doesn't configure any inputs to rec mixr to any particular state, except one of them, etc. etc.

Читать полностью…

PINE64 dev

[I] <m​egi> UCM way of setting things is meh... you just can't know how the audio will actually be routed when using it

Читать полностью…

PINE64 dev

[I] <m​egi> that's what turns on/off the final part of the audio path to the speaker :)

Читать полностью…

PINE64 dev

[I] <m​egi> more unfortunate, than unintentional, but also not easily avoidable

Читать полностью…

PINE64 dev

[M] <p​iggz> maybe i should test with alsamixer, with audio on the earpice, and just toggle the bits to enable the speaker

Читать полностью…

PINE64 dev

[I] <m​egi> the mic has a digital output signal

Читать полностью…

PINE64 dev

[I] <m​egi> there's no noise from the mic in my tests

Читать полностью…

PINE64 dev

[I] <m​egi> so the names are different

Читать полностью…

PINE64 dev

[I] <m​egi> I have not tried that yet, last I worked on this I did optimizations for main codec I2S -> modem codec I2S paths

Читать полностью…

PINE64 dev

[I] <m​egi> except PPP has two codecs and is much more complicated

Читать полностью…
Subscribe to a channel