You are not logged in.
Finally I managed to have my laptop output an ac3 encoded stream to my TV and the TV passing it through to the 5.1 ac decoder.
I wasn't able to do it in the past because that format wasn't "published" by the output sink; but I've found that I can enable various formats via pavucontrol (output tab -> advanced).
koko@thinkbook# pactl list sinks
Sink #651
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo
Description: Built-in Audio Digital Stereo (HDMI)
Driver: PipeWire
Sample Specification: s32le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
object.path = "alsa:acp:PCH:8:playback"
api.alsa.path = "hdmi:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
port.group = "playback"
device.icon_name = "audio-card-analog"
device.bus = "pci"
audio.channels = "2"
audio.position = "FL,FR"
iec958.codecs = "[\"PCM\",\"AC3\",\"EAC3\",\"TrueHD\"]"
device.routes = "1"
alsa.resolution_bits = "16"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x6001130000 irq 151"
alsa.driver_name = "snd_hda_intel"
alsa.mixer_name = "Realtek ALC257"
alsa.components = "HDA:10ec0257,17aa3851,00100001 HDA:8086280f,80860101,00100000"
alsa.id = "HDMI 0"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "LG TV SSCR2"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.sync.id = "00000000:00000000:00000000:00000000"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
card.profile.device = "8"
device.id = "43"
factory.name = "api.alsa.pcm.sink"
priority.driver = "952"
priority.session = "952"
media.class = "Audio/Sink"
node.nick = "HDA Intel PCH"
node.name = "alsa_output.pci-0000_00_1f.3.hdmi-stereo"
device.description = "Built-in Audio"
device.bus_path = "pci-0000:00:1f.3"
device.form_factor = "internal"
factory.id = "19"
clock.quantum-limit = "8192"
client.id = "34"
node.driver = "true"
node.loop.name = "data-loop.0"
library.name = "audioconvert/libspa-audioconvert"
object.id = "130"
object.serial = "651"
device.enum.api = "udev"
api.alsa.card = "0"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.card.longname = "HDA Intel PCH at 0x6001130000 irq 151"
device.plugged.usec = "5029842"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.subsystem = "sound"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0x34c8"
device.product.name = "Ice Lake-LP Smart Sound Technology Audio Controller"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
api.dbus.ReserveDevice1 = "Audio0"
device.string = "0"
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 4, available)
Active Port: hdmi-output-0
Formats:
pcm
ac3-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"
eac3-iec61937, format.rate = "{ \"min\": 32000, \"max\": 192000 }"Now under "Formats:" I've pcm, ac3, eac3.
My question is: How can I manually add or remove them via command line? I'm using pipewire.
Thanks!
Last edited by kokoko3k (2025-11-16 11:37:49)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline