Bug 257551 - Support for Monitor audio input device
Summary: Support for Monitor audio input device
Status: REPORTED
Alias: None
Product: kmix
Classification: Applications
Component: Backend: Pulseaudio (show other bugs)
Version: 3.7
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Colin Guthrie
URL:
Keywords:
: 217064 342107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-21 22:02 UTC by Alexey Shildyakov
Modified: 2014-12-25 10:47 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Choose recording source - the monitor device in pavucontrol (105.11 KB, image/png)
2012-07-09 06:18 UTC, Alexey Shildyakov
Details
Input devices showing Monitor virtual device in pavucontrol (33.06 KB, image/png)
2012-07-09 06:19 UTC, Alexey Shildyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shildyakov 2010-11-21 22:02:44 UTC
Version:           3.7 (using KDE 4.5.3) 
OS:                Linux

Now KMix don't show any Monitor audio input devices. I think it should be. And choose input device between Mic and this Monitor audio input (probably already can do this but not have Monitor audio input)

Reproducible: Always
Comment 1 Alexey Shildyakov 2010-11-21 22:09:55 UTC
In "pacmd list-sources" you can see Monitor as another source:

>>> 3 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_01_05.1.hdmi-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1050
        volume: 0: 100% 1: 100%
                0: 0.00 dB 1: 0.00 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_01_05.1>
        module: 4
        properties:
                device.description = "Monitor of RS880 Audio Device [Radeon HD 4200] Digital Stereo (HDMI)"
                device.class = "monitor"
                alsa.card = "1"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfeae8000 irq 19"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:05.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "ATI Technologies Inc"
                device.product.id = "970f"
                device.product.name = "RS880 Audio Device [Radeon HD 4200]"
                hal.udi = "/org/freedesktop/Hal/devices/pci_1002_970f_sound_card_1"
                hal.product = "HDA ATI HDMI Sound Card"
                hal.card_id = "HDA ATI HDMI"
                device.string = "1"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
    index: 1
        name: <alsa_output.pci-0000_00_14.2.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1950
        volume: 0: 100% 1: 100%
                0: 0.00 dB 1: 0.00 dB
                balance 0.00
        base volume: 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 .. 371.52 ms
        monitor_of: 1
        card: 1 <alsa_card.pci-0000_00_14.2>
        module: 5
        properties:
                device.description = "Monitor of Internal Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA ATI SB"
                alsa.long_card_name = "HDA ATI SB at 0xfe8f4000 irq 16"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:14.2"
                sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "ATI Technologies Inc"
                device.product.id = "4383"
                device.product.name = "SBx00 Azalia (Intel HDA)"
                device.form_factor = "internal"
                hal.udi = "/org/freedesktop/Hal/devices/pci_1002_4383_sound_card_0"
                hal.product = "HDA ATI SB Sound Card"
                hal.card_id = "HDA ATI SB"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 2
        name: <alsa_input.pci-0000_00_14.2.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: 0: 100% 1: 100%
                0: 0.00 dB 1: 0.00 dB
                balance 0.00
        base volume:  10%
                     -60.75 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 .. 371.52 ms
        card: 1 <alsa_card.pci-0000_00_14.2>
        module: 5
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "VT1708S Analog"
                alsa.id = "VT1708S Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA ATI SB"
                alsa.long_card_name = "HDA ATI SB at 0xfe8f4000 irq 16"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:14.2"
                sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "ATI Technologies Inc"
                device.product.id = "4383"
                device.product.name = "SBx00 Azalia (Intel HDA)"
                device.form_factor = "internal"
                hal.udi = "/org/freedesktop/Hal/devices/pci_1002_4383_sound_card_0"
                hal.product = "HDA ATI SB Sound Card"
                hal.card_id = "HDA ATI SB"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Internal Audio Analog Stereo"
                alsa.mixer_name = "VIA VT1708S"
                alsa.components = "HDA:11060397,1043836c,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                input-microphone-1: Microphone 1 (priority 20)
                input-microphone-2: Microphone 2 (priority 19)
                input-linein: Line-In (priority 18)
        active port: <input-microphone-1>
Comment 2 Christian Esken 2011-08-15 21:11:00 UTC
*** Bug 217064 has been marked as a duplicate of this bug. ***
Comment 3 Sergiu Bivol 2012-05-24 20:42:43 UTC
Bug #217064 has nothing to do with this one. 
Alexey was talking about the pulseaudio monitor source not being shown in KMix, which is a bug in my opinion.
Capturing the sound of your system is nearly impossible without the Monitor. pacmd is unbelievably difficult to work with.
Comment 4 Colin Guthrie 2012-05-24 21:40:03 UTC
It's sort of semi-deliberate that I don't show monitor devices. it's pretty trivial to show them, but I didn't want them cluttering up the "normal" usage. I'd happily add an option to show them, but due to it's generic nature, it's kinda hard to add PA specific options to kmix UI. It's probably a one or two line change to show them tho' if you want to look at the code and compile up your own tweaked version.

As for the dupe, they look like the same to me (broadly speaking). Or are you specifically talking about showing the monitors only in the context menu when moving streams in kmix? (FWIW, the one line change mentioned above would solve both as the context menu shows what's listed in the relevant device tab).
Comment 5 Alexey Shildyakov 2012-07-09 06:18:03 UTC
Sorry. I write it incorrectly. What I meaned:
Support ability to choose input source for the monitor virtual devices. The situation is recording sound from what audiocard is playing now. As I can see now, the source of recording should be selected only in Phonon - System settngs -> Audio Hardware Setup, this bug may be applied to the kde settings, not for KMix.
I'll attach the screenshots - how this behavior is implemented in pavucontrol.
The bug 217064 is about showing levels of current playing sound of applications and for devices too.
Comment 6 Alexey Shildyakov 2012-07-09 06:18:55 UTC
Created attachment 72390 [details]
Choose recording source - the monitor device in pavucontrol
Comment 7 Alexey Shildyakov 2012-07-09 06:19:22 UTC
Created attachment 72391 [details]
Input devices showing Monitor virtual device in pavucontrol
Comment 8 Myriam Schweingruber 2014-12-25 10:47:23 UTC
*** Bug 342107 has been marked as a duplicate of this bug. ***