#
✕ nick:povik
#asahi · 2022-02-19 17:46
povikboth defects due to me building with clang
#asahi · 2022-02-19 17:45
povikso that's that
#asahi · 2022-02-19 17:34
povikno, thanks for reminding to put that on my TODO
#asahi · 2022-02-19 17:29
povikthere's a bool array if that matters
#asahi · 2022-02-19 17:29
povikcould gcc and clang be laying out structures in memory differently?
#asahi · 2022-02-19 17:29
povikstill i don't know why it doesn't manifest for me
#asahi · 2022-02-19 17:29
povikmps, Glanzmann: likely fix of audio: https://tpaste.us/DXyl
#asahi · 2022-02-19 17:15
povikthat goes without saying
#asahi · 2022-02-19 17:14
poviksounds good?
#asahi · 2022-02-19 17:13
povikso i propose i go ahead with it and we discuss the binding on the list
#asahi · 2022-02-19 17:13
poviki should do the RFC for other reasons beyond the binding, and doing it with the fixed speaker order initially is easiest
#asahi · 2022-02-19 17:09
poviksure
#asahi · 2022-02-19 17:07
poviki would assume there's some prior art on this
#asahi · 2022-02-19 17:06
povikbut on the other hand the devicetrees are supposed to describe hardware, not drivers, i guess
#asahi · 2022-02-19 17:06
povikbecause the codec driver doesn't care
#asahi · 2022-02-19 17:06
povikinteresting, to me the right approach is to keep that with the sound card, not the codec
#asahi · 2022-02-19 17:04
povikmeaning for a given amount of speakers, a specific layout is assumed and the speakers are placed in the layout based on their order in some sound-dai= list
#asahi · 2022-02-19 17:03
povikif there is special compatible for the mac's audio cards, then the order of speakers can be fixed i guess
#asahi · 2022-02-19 17:03
povikand post that as an RFC
#asahi · 2022-02-19 17:03
povikso my plan is to do something with compatible="apple,macaudio"
#asahi · 2022-02-19 17:02
povikthe linux drivers are limited and the bindings are limiting too, i think
#asahi · 2022-02-19 17:02
povikbtw i can't bring up the laptop speakers with simple-audio-card or audio-graph-card as they are
#asahi · 2022-02-19 17:02
povikkettenis: left right, but beyond that point i don't know
#asahi · 2022-02-19 17:01
povikmine too :)
#asahi · 2022-02-19 17:00
povikmacvdmtool is macos only, right?
#asahi · 2022-02-19 16:57
povikbut that actually isn't relevant here, is it :)
#asahi · 2022-02-19 16:56
poviki don't know how alsa knows which channel is which when #channels > 2
#asahi · 2022-02-19 16:56
povikkettenis: i guess we do. i am closing in on bringing the laptop speakers up
#asahi · 2022-02-19 16:18
povikbrb
#asahi · 2022-02-19 16:17
poviksilly
#asahi · 2022-02-19 16:17
povikshould probably be STREAM_LAST+1
#asahi · 2022-02-19 16:17
povikbool clocks_in_use[SNDRV_PCM_STREAM_LAST];
#asahi · 2022-02-19 16:17
povikaha!
#asahi · 2022-02-19 16:15
povik(and even then, it should work, just limited to the same samplerate)
#asahi · 2022-02-19 16:15
povikbut i assume you are not doing any recording in background?
#asahi · 2022-02-19 16:15
povikas if a capture stream in parallel was holding the clocks
#asahi · 2022-02-19 16:15
povikyeah, that's in line with the dmesg i saw
#asahi · 2022-02-19 16:12
poviki am not running any desktop environment though
#asahi · 2022-02-19 16:12
povikand with speaker-test or mpv
#asahi · 2022-02-19 16:11
povikthat's both on mini and the air
#asahi · 2022-02-19 16:11
poviki can't reproduce the sound errors
#asahi · 2022-02-19 15:36
povikt8x only at this point, the soc parts are the same but the codecs are different
#asahi · 2022-02-19 15:33
povikokay i repent :-p
#asahi · 2022-02-19 15:33
povikah right, those mention dma, i thought there were some outside of the mca driver
#asahi · 2022-02-19 15:30
povikatleast not about apple-admac
#asahi · 2022-02-19 15:30
povikthe mca warnings are the ones marcan ran into, but i don't see anything about dma
#asahi · 2022-02-19 15:17
povikso i would fix them right away
#asahi · 2022-02-19 15:17
povikWERROR will make it refuse build with warnings
#asahi · 2022-02-19 15:15
povikmaybe i should start developing with WERROR
#asahi · 2022-02-19 15:11
povikbut i am only doing doing speaker-test

plus ›