#
✕ nick:povik
#asahi-dev · 2023-02-24 14:57
povikbut seeing the blob corresponding to different displays should help with that
#asahi-dev · 2023-02-24 14:57
povikalthough there's one thing i don't understand about the channel layout negotiation
#asahi-dev · 2023-02-24 14:56
povikbtw speaker layout is already parsed out from the DCP blob and pushed to userspace
#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: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: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:43
povik'RE sample like'?
#asahi-dev · 2023-02-24 14:42
povikah, i think we won't support that
#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:38
povikok, making sure i understand it right
#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
povikACP is the pipewire alsa layer?
#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
povikwhich is something hdmi-codec.c has
#asahi-dev · 2023-02-24 14:34
povikso it looks for an 'ELD' control
#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
#asahi-dev · 2023-02-24 14:29
povikmaybe the sound servers have special-cased support for hdmi
#asahi-dev · 2023-02-24 14:28
poviks/can does/can do/
#asahi-dev · 2023-02-24 14:28
povikanything asoc can does we can do in the alsa driver too
#asahi-dev · 2023-02-24 14:28
povikbut it doesn't matter for this
#asahi-dev · 2023-02-24 14:28
povikyeah, it's not
#asahi-dev · 2023-02-24 14:27
povikis the __number merely a card number?
#asahi-dev · 2023-02-24 14:27
povikso let's take one hdmi-codec.c based card and read its ucm, yeah
#asahi-dev · 2023-02-24 14:26
povikas probably won't be any ASoC based cards
#asahi-dev · 2023-02-24 14:25
povikcards using that won't be recreated dynamically
#asahi-dev · 2023-02-24 14:25
povikah, now i realize i have read sound/soc/codecs/hdmi-codec.c
#asahi-dev · 2023-02-24 14:21
poviklevels of indirection everywhere...
#asahi-dev · 2023-02-24 14:21
povikdsharshakov: you don't know how annoying it is trying to make sense of the other drivers :D
#asahi-dev · 2023-02-24 14:21
povikmaybe by involving the enable sequences?
#asahi-dev · 2023-02-24 14:20
poviki am surprised there doesn't seem to be a way to use something read from a device control
#asahi-dev · 2023-02-24 14:20
povik*upstream
#asahi-dev · 2023-02-24 14:20
poviknot sure how well will that sit with upstrem though
#asahi-dev · 2023-02-24 14:20
poviklooking at ^-- once more we can maybe substitute from a sysfs file into the name
#asahi-dev · 2023-02-24 14:19
povikhttps://www.alsa-project.org/alsa-doc/alsa-lib/group__ucm__conf.html
#asahi-dev · 2023-02-24 14:17
povikreally? are you sure?
#asahi-dev · 2023-02-24 14:13
povikbut the alsa card name need not be the name presented to users, and there might even be some other way to influence the latter than by jack state
#asahi-dev · 2023-02-24 14:13
povikit would be hard to do otherwise, the alsa cards would need to be recreated dynamically probably
#asahi-dev · 2023-02-24 14:07
povikthis can propagate into picking up the right 'SectionDevice' from ucm, which contains the name to be presented to users

plus ›