I am trying to avoid feedback. If I turn the always connected microphone level to zero with pavucontrol there is none. But when I use Skype it increases it and does not reset it to zero. If I tell pavucontrol to default to an open input, no feedback, but no input for Skype. What I need is a resetting method from the command line that I can add to my Skype startup script. I’m having problems with…
:~> pacmd suspend-source 0 0
Failed to resume/suspend source: Not supported
I only have one sound card configured in YaST. Any suggestions would be much appreciated.
I’m not a PulseAudio guru by any means, but what does the following report?
pactl list sources
It might depend on the sink module concerned.
From ‘man pactl’ I note
suspend-source SOURCE 1|0
Suspend or resume the specified source (which my be specified
either by its symbolic name, or by its numeric index), depending
whether 1 (suspend) or 0 (resume) is passed as last argument.
Suspending a source will pause all capturing. Depending on the
module implementing the source this might have the effect that
the underlying device is closed, making it available for other
applications to use. The exact behaviour depends on the module.
deano_ferrari:
I’m not a PulseAudio guru by any means, but what does the following report?
pactl list sources
It might depend on the sink module concerned.
~> pactl list sources
Source #0
State: RUNNING
Name: alsa_output.pci-0000_00_05.0.analog-stereo.monitor
Description: Monitor of Built-in Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
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 of Sink: alsa_output.pci-0000_00_05.0.analog-stereo
Latency: 0 usec, configured 40000 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Built-in Audio Analog Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfe024000 irq 22"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:05.0"
sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "03f0"
device.product.name = "MCP61 High Definition Audio"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm
Source #1
State: RUNNING
Name: alsa_input.pci-0000_00_05.0.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
Mute: no
Volume: front-left: 26901 / 41% / -23.20 dB, front-right: 26901 / 41% / -23.20
dB
balance 0.00
Base Volume: 6554 / 10% / -60.00 dB
Monitor of Sink: n/a
Latency: 8412 usec, configured 40000 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1200 Analog"
alsa.id = "ALC1200 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfe024000 irq 22"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:05.0"
sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "03f0"
device.product.name = "MCP61 High Definition Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC1200"
alsa.components = "HDA:10ec0888,103c2a72,00100101"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, available)
analog-input-linein: Line In (priority: 8100, not available)
Active Port: analog-input-rear-mic
Formats:
pcm
Source #2
State: RUNNING
Name: alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor
Description: Monitor of High Definition Audio Controller Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
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 of Sink: alsa_output.pci-0000_02_00.1.hdmi-stereo
Latency: 0 usec, configured 40000 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of High Definition Audio Controller Digital S
tereo (HDMI)"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfcffc000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:02:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card2"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "0be3"
device.product.name = "High Definition Audio Controller"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm
pactl suspend-source 1
turns the input microphone off which solves my problem. I was using pacmd instead. Many thanks for steering me in the right direction.
Good to read that works for you (and helping to suspend the appropriate source).