#asahi-dev · 2023-02-24 14:56
kettenisjannau: isn't the bandwidth of some extra audio channels negligable compared to 4K video? ;)#asahi-dev · 2023-02-24 14:55
povikso we will see about this#asahi-dev · 2023-02-24 14:55
povikanyway indeed i don't have a TV with fancy sound regimes to test the driver against, but i implemented some features into the driver so people can post what DCP advertises about different displays#asahi-dev · 2023-02-24 14:51
dsharshakovbut maybe that can be left for later#asahi-dev · 2023-02-24 14:51
jannaubandwidth (you can have more than 7.1 channels) and you need missing knowledge of the speaker config (and room) to mix it correctly#asahi-dev · 2023-02-24 14:51
dsharshakovAFAIK also possible to offload just because of why not, even if it's just some spdif encoded format#asahi-dev · 2023-02-24 14:49
povik(pun not intended)#asahi-dev · 2023-02-24 14:49
povikyeah, sounds like crap :D#asahi-dev · 2023-02-24 14:49
povikhmm#asahi-dev · 2023-02-24 14:48
ChaosPrincesspovik: atmos and similar crap only exist as patent-encumbered undocumented format, and everyone just sends them to the AV receiver to decode, instead of decoding it on player cpu#asahi-dev · 2023-02-24 14:47
dsharshakovnot just 7.1 which is handled by HDMI PCM#asahi-dev · 2023-02-24 14:47
dsharshakovI mean stuff like Atmos apparently only existing in compressed forms (pass bitstream to the AV receiver which decodes metadata to render sound objects)#asahi-dev · 2023-02-24 14:46
povikwhy wouldn't immersive audio be possible otherwise? it's not possible to send a many-channel pcm stream over hdmi?#asahi-dev · 2023-02-24 14:45
dsharshakovMany modern TVs should have that sort of thing, and macOS is likely to take advantage of that (since no immersive audio is possible with PCM only)#asahi-dev · 2023-02-24 14:44
dsharshakovSomething to attach and trace with to see how it's handled#asahi-dev · 2023-02-24 14:43
povik'RE sample like'?#asahi-dev · 2023-02-24 14:43
dsharshakovNo RE sample like supporting TV to test?#asahi-dev · 2023-02-24 14:42
dsharshakovSPDIF-like data offloading. Apparently driver has something to do with that#asahi-dev · 2023-02-24 14:42
povikah, i think we won't support that#asahi-dev · 2023-02-24 14:42
dsharshakovSNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE or something like this#asahi-dev · 2023-02-24 14:41
povikand i translate that into alsa talk#asahi-dev · 2023-02-24 14:41
poviki get a blob from the dcp describing the available formats and channel layouts#asahi-dev · 2023-02-24 14:41
poviki don't understand those words#asahi-dev · 2023-02-24 14:40
dsharshakovmight also be architecturally important#asahi-dev · 2023-02-24 14:40
dsharshakovprofile-wise, have you checked passthrough modes on HDMI (Dolby TrueHD, DTS, other codec bitstreamed directly to AV receiver)?#asahi-dev · 2023-02-24 14:38
povikok, making sure i understand it right#asahi-dev · 2023-02-24 14:38
dsharshakovYes, idk how PA handles devices without UCM and how does it treat HDMI#asahi-dev · 2023-02-24 14:38
povikit's a profile for pipewire, it doesn't have meaning outside of pipewire, right?#asahi-dev · 2023-02-24 14:37
dsharshakovALSA Card Profile, yes, it's implemented by PW#asahi-dev · 2023-02-24 14:37
povikACP is the pipewire alsa layer?#asahi-dev · 2023-02-24 14:37
dsharshakovAnd UCM is optional in that mix (maybe can be avoided), ACP can handle that just fine#asahi-dev · 2023-02-24 14:35
dsharshakovbut at least we (PW) shouldn't check for it being an HDA device. ALSA and PA might be different though#asahi-dev · 2023-02-24 14:35
dsharshakovfirst link#asahi-dev · 2023-02-24 14:35
povikwhere is that from?#asahi-dev · 2023-02-24 14:35
povikargh#asahi-dev · 2023-02-24 14:34
dsharshakov> The ELD format is specific to HDA Intel sound cards#asahi-dev · 2023-02-24 14:34
povikwhich is something hdmi-codec.c has#asahi-dev · 2023-02-24 14:34
dsharshakovso apparently it's reported in some non-ordinary way but uses that ELD#asahi-dev · 2023-02-24 14:34
povikso it looks for an 'ELD' control#asahi-dev · 2023-02-24 14:33
dsharshakovfound by brief ripgrepping#asahi-dev · 2023-02-24 14:33
dsharshakovhttps://gitlab.freedesktop.org/pipewire/pipewire/-/blob/da21cfa93c892dc7d7cd6894771ae50b4c55a1fa/spa/plugins/alsa/acp/alsa-util.c#L1857 https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/da21cfa93c892dc7d7cd6894771ae50b4c55a1fa/spa/plugins/alsa/acp/acp.c#L886#asahi-dev · 2023-02-24 14:31
dsharshakovalright, found some, will link in a sec#asahi-dev · 2023-02-24 14:31
dsharshakov> maybe the sound servers have special-cased support for hdmi#asahi-dev · 2023-02-24 14:31
povikthe whole thing is a macro#asahi-dev · 2023-02-24 14:31
povikah, this is probably what's going on#asahi-dev · 2023-02-24 14:31
povik> The arguments in the macro are refered as the variables with the double underscore name prefix (like *__variable*).#asahi-dev · 2023-02-24 14:30
povikand it isn't documented as having special meaning#asahi-dev · 2023-02-24 14:30
povikthe only hits for __Number in alsa-ucm are in that file#asahi-dev · 2023-02-24 14:30
povikwhoa what?#asahi-dev · 2023-02-24 14:29
poviki vaguely remember something like that