Framework 13 HDMI Audio output and hiding sinks not in use

Hello, I have a question but I’m in all fairness not sure where to ask it, so please feel free to redirect me somewhere else.

I recently got a Framework 13 laptop (AMD Ryzen AI 300 series), and set it up with Archlinux.
Audio is handled through pipewire, so far all is good.

Now the issue is when I want to output my audio through an external monitor/screen projector, plugged in via the HDMI adapter.

When I run wpctl status, I get the following audio sinks listed:

 ├─ Sinks:
 │  *   35. Family 17h/19h/1ah HD Audio Controller Speaker [vol: 0.55]
 │      43. Radeon High Definition Audio Controller [Rembrandt/Strix] HDMI / DisplayPort 2 Output [vol: 1.00]
 │      45. Radeon High Definition Audio Controller [Rembrandt/Strix] HDMI / DisplayPort 3 Output [vol: 1.00]
 │      62. Radeon High Definition Audio Controller [Rembrandt/Strix] HDMI / DisplayPort 1 Output [vol: 0.40]
 │      74. Radeon High Definition Audio Controller [Rembrandt/Strix] HDMI / DisplayPort 4 Output [vol: 1.00]

The first one is the onboard speaker, and the 4 other ones seem to be sinks for each of the ports of the laptop.
By trying each and every one of them, I was able to figure out which one is assigned to the port my HDMI adapter is plugged into.
However, I was wondering if there was a way to not list out the sinks that are not available: that is, the sinks associated with a port that has nothing plugged into it.

Perhaps even weirder, currently my adapter is plugged into the 2nd port (as determined in the Framework Laptop 13 expansion card chart), and yet I have to select the Display Port 1 sink for the audio to be sent to the monitor, instead of Display Port 2, which I would have expected.

Anyone has any advice on the topic?

I can’t answer your question directly, but I would maybe caution against hiding the sync as this might have system wide implications, like they wont be available if you actual need to use one. I have had some issues on Arch with audio stacks and my experience has been along these lines. I just am not entirely sure about the whole thing too much so I am only sharing my experience.

Oh I definitely agree with you. I just wondered if there was a way to not have them show up unless something is actually plugged in.

In pavucontrol, seems like there is no problem having that information, as all but one show (unplugged) in the Port select field. Basically I just want to have them hidden unless plugged.

I got a Desktop AMD card, and the HDMI/DP output is always there.