Sound not working after disconnecting HDMI

Hi.
I have a Dell Latitude 5420.
I think I have only pipewire installed (although a “pulseaudio” process is running).
I have to connect HDMI again, switch the audio output to speakers and then unplug the HDMI.

System:
  Kernel: 6.6.30-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.6-x86_64
    root=UUID=4d3304fd-330d-42a8-8ac5-623b762942c8 rw rootflags=subvol=@ quiet
    splash apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 46.1 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 46.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Latitude 5420 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0XK71D v: A01 serial: <superuser required> part-nu: 0A20
    uuid: <superuser required> UEFI: Dell v: 1.33.0 date: 11/10/2023
Battery:
  ID-1: BAT0 charge: 31.6 Wh (100.0%) condition: 31.6/42.0 Wh (75.3%)
    volts: 12.7 min: 11.4 model: BYD DELL M3KCN15 type: Li-poly serial: <filter>
    status: full
Memory:
  System RAM: total: 16 GiB available: 15.2 GiB used: 5.02 GiB (33.0%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 256 GiB note: check slots: 2 modules: 1 EC: None
    max-module-size: 128 GiB note: est.
  Device-1: DIMM B type: no module installed
  Device-2: DIMM A type: DDR4 detail: synchronous size: 16 GiB
    speed: 3200 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: 04CB000080AD part-no: AO1P32NCST2-B85S serial: <filter>
CPU:
  Info: model: 11th Gen Intel Core i5-1145G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xB6
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 513 high: 1045 min/max: 400/4400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 665 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 1045 8: 400 bogomips: 23968
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd
    avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2
    cdp_l2 clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16
    cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp
    hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt invpcid
    lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr
    nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good
    sdbg sep sha_ni smap smep smx split_lock_detect ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tme tpr_shadow tsc tsc_adjust
    tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx vnmi
    vpclmulqdq vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    RSB filling; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
    active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:2
    chip-ID: 1bcf:28c4 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: eDP-1 model: Najing CEC Panda 0x0056 built: 2020 res: 1920x1080
    dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.6-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Xe Graphics (TGL GT2)
    device-ID: 8086:9a49 memory: 14.84 GiB unified: yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
  API: ALSA v: k6.6.30-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15fb class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 31.68 GiB (6.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data
    model: IM2P33F3A NVMe 512GB size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 92209301 temp: 25.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 155.93 GiB size: 155.93 GiB (100.00%)
    used: 31.61 GiB (20.3%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
    label: N/A uuid: 4d3304fd-330d-42a8-8ac5-623b762942c8
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 69.9 MiB (72.8%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 90E2-0EF8
  ID-3: /home raw-size: 155.93 GiB size: 155.93 GiB (100.00%)
    used: 31.61 GiB (20.3%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
    label: N/A uuid: 4d3304fd-330d-42a8-8ac5-623b762942c8
  ID-4: /mnt/Externo raw-size: N/A size: 916.77 GiB used: 709.33 GiB (77.4%)
    fs: cifs dev: /dev/Externo
  ID-5: /var/cache raw-size: 155.93 GiB size: 155.93 GiB (100.00%)
    used: 31.61 GiB (20.3%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
    label: N/A uuid: 4d3304fd-330d-42a8-8ac5-623b762942c8
  ID-6: /var/log raw-size: 155.93 GiB size: 155.93 GiB (100.00%)
    used: 31.61 GiB (20.3%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
    label: N/A uuid: 4d3304fd-330d-42a8-8ac5-623b762942c8
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 320.17 GiB fs: ntfs label: N/A
    uuid: E0B8E974B8E94A1C
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 744 MiB fs: ntfs label: N/A
    uuid: 381CBEA71CBE6014
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-6:2 info: Sunplus Innovation Integrated_Webcam_HD type: video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 1bcf:28c4 class-ID: 0e02 serial: <filter>
  Device-2: 3-8:3 info: Broadcom 58200 type: smart card driver: N/A
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 100mA chip-ID: 0a5c:5842 class-ID: 0b00 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 339 Power: uptime: 35m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 6.06 GiB services: gsd-power, power-profiles-daemon, upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: 1325 pm: pacman pkgs: 1309 libs: 374 tools: gnome-software,pamac
    pm: flatpak pkgs: 16 Compilers: clang: 17.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.34
    PID USUARIO   PR  NI    VIRT    RES    SHR S  %CPU  %MEM    TEMPO+ COMANDO                                                                                                                  
   1898 danilo     9 -11 1722336  35824  22320 S   2,7   0,1   0:13.73 pulseaudio                                                                                                                                 

The pulseaudio process is probably pipewire-pulse