I run stereo audio from my TV to the line-in on my computer so I can listen to it through headphones simultaneously with all the other PC audio. However, after installing codecs from Packman the line-audio does not work… UNLESS VLC is playing something. Once VLC is stopped, the line-in audio continues for 2 or 3 more seconds and then stops.
I fiddled around with it for a couple of minutes and eventually ended up using Snapper to roll back to my pre-codec state (yay brtfs snapshots).
I realize this may not be the most common setup in the world but hopefully someone has an idea or two.
**$ **pacmd list-sources
2 source(s) available.
index: 0
name: <combined.monitor>
driver: <module-combine-sink.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 200.00 ms
monitor_of: 0
module: 14
properties:
device.description = "Monitor Source of Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Ana
log Stereo"
device.class = "monitor"
device.icon_name = "audio-input-microphone"
* index: 1
name: <alsa_output.pci-0000_0a_00.3.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
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
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100.14 ms
monitor_of: 1
card: 0 <alsa_card.pci-0000_0a_00.3>
module: 26
properties:
device.description = "Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xf6700000 irq 87"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0a:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
When I run pavucontrol I have sound from the line-in for a few seconds, then it cuts off again. If I go into audio volume settings and do the left/right channel test, I hear the “front right, front left” recording and the line-in plays for a few seconds before stopping again. Start and stop a YouTube video, line-in audio works for the duration, then quits after 10-15 seconds. Last night it magically decided to start working perfectly again, now today it’s uncooperative. No idea if this is a bug or a configuration problem.
This leads me to think that if I could figure out how to stop this suspend-on-idle behavior I would have my problem solved. But I don’t know where to start.