Bug 93193

Summary: pulseaudio fails to adjust volume for USB sound stick but ALSA works
Product: PulseAudio Reporter: tewilove <tewilove>
Component: alsaAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description tewilove 2015-12-01 17:30:37 UTC
Hi, I have an Audioengine D3 selected as master audio output on a Fedora 23.
I've noticed that pulseaudio based applications such as gstreamer/totem/rhythmbox fails to set volume. There is only two levels, < 1.00 => mute and == 1.00 => full volume.
This might exist since Fedora 20 or so.

How to reproduce it:
1. select USB sound stick as master audio output
2. start totem to watch a video or start rhythmbox
3. adjust volume slider on the application's GUI

I also tested it with VLC.
When selecting alsa as audio output, it works fine.
And when selecting pulseaudio, it behaves as described above.

This is lsusb on the device:
Bus 001 Device 031: ID 2912:120b  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x2912 
  idProduct          0x120b 
  bcdDevice            1.0c
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          131
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           43
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 7
        bSourceID               5
        bControlSize            2
        bmaControls( 0)      0x01
        bmaControls( 0)      0x00
          Mute Control
        bmaControls( 1)      0x02
        bmaControls( 1)      0x00
          Volume Control
        bmaControls( 2)      0x02
        bmaControls( 2)      0x00
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             8
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               7
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                20
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            4 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
        tSamFreq[ 2]        88200
        tSamFreq[ 3]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x024c  1x 588 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         131
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0

I would like to help solve this problem and what can I do next?
Comment 1 Alexander E. Patrakov 2015-12-01 17:38:43 UTC
Please provide full alsa-info, as described here: https://wiki.ubuntu.com/Audio/AlsaInfo (even though you are not on Ubuntu). Please provide alsa-info for two different volumes that you manage to set via ALSA, and for two volumes that totem pretends to set via PulseAudio. I.e. four alsa-infos in total.

Please provide the output of "pactl list", too.
Comment 2 tewilove 2015-12-02 02:26:26 UTC
alsa-info when doing nothing:
http://www.alsa-project.org/db/?f=c713652b7602889c68f688d72cfb49af215d2336
alsa-info when using VLC(alsa aout, working volume control):
http://www.alsa-project.org/db/?f=4d8dd20c7a5c5405b32ed11fd06f70dab3cdc30d
alsa-info when using rhythmbox(half volume but behaves mute):
http://www.alsa-project.org/db/?f=e6b7dd058a6c08661f9791e91440b55a8929f7a3
alsa-info when using rhythmbox(full volume):
http://www.alsa-project.org/db/?f=1fb0310863e9c194f1ac7d9280ed9cb5cd06b71a

[ming@MiWiFi-R1CM-srv rhythmbox]$ pactl list
Module #0
	Name: module-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "7.1"

Module #1
	Name: module-stream-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "7.1"

Module #2
	Name: module-card-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "7.1"

Module #3
	Name: module-augment-properties
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "7.1"

Module #4
	Name: module-switch-on-port-available
	Argument: 
	Usage counter: n/a
	Properties:
		

Module #5
	Name: module-udev-detect
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "7.1"

Module #6
	Name: module-alsa-card
	Argument: device_id="0" name="pci-0000_00_03.0" card_name="alsa_card.pci-0000_00_03.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "7.1"

Module #7
	Name: module-alsa-card
	Argument: device_id="1" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 1
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "7.1"

Module #8
	Name: module-bluetooth-policy
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Frédéric Dalleau"
		module.description = "When a bluetooth sink or source is added, load module-loopback"
		module.version = "7.1"

Module #9
	Name: module-bluetooth-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
		module.version = "7.1"

Module #10
	Name: module-bluez5-discover
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
		module.version = "7.1"

Module #11
	Name: module-esound-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ESOUND protocol (UNIX sockets)"
		module.version = "7.1"

Module #12
	Name: module-native-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "7.1"

Module #13
	Name: module-default-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "7.1"

Module #14
	Name: module-rescue-streams
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
		module.version = "7.1"

Module #15
	Name: module-always-sink
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "7.1"

Module #16
	Name: module-intended-roles
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "7.1"

Module #17
	Name: module-suspend-on-idle
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "7.1"

Module #18
	Name: module-systemd-login
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each login session of this user"
		module.version = "7.1"

Module #19
	Name: module-position-event-sounds
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "7.1"

Module #20
	Name: module-role-cork
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Mute & cork streams with certain roles while others exist"
		module.version = "7.1"

Module #21
	Name: module-filter-heuristics
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Detect when various filters are desirable"
		module.version = "7.1"

Module #22
	Name: module-filter-apply
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Load filter sinks automatically when needed"
		module.version = "7.1"

Module #23
	Name: module-x11-publish
	Argument: display=:0
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 credential publisher"
		module.version = "7.1"

Module #24
	Name: module-x11-cork-request
	Argument: display=:0
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Synthesize X11 media key events when cork/uncork is requested"
		module.version = "7.1"

Module #25
	Name: module-x11-xsmp
	Argument: display=:0 session_manager=local/unix:@/tmp/.ICE-unix/2182,unix/unix:/tmp/.ICE-unix/2182
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "X11 session management"
		module.version = "7.1"

Module #26
	Name: module-alsa-card
	Argument: device_id="2" name="usb-Audioengine_Audioengine_D3_Audioengine-00" card_name="alsa_card.usb-Audioengine_Audioengine_D3_Audioengine-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "7.1"

Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_03.0.hdmi-stereo
	Description: Built-in Audio Digital Stereo (HDMI)
	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 Source: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Built-in Audio Digital Stereo (HDMI)"
		alsa.mixer_name = "Intel Haswell HDMI"
		alsa.components = "HDA:80862807,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, not available)
	Active Port: hdmi-output-0
	Formats:
		pcm

Sink #1
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.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: 7
	Mute: no
	Volume: front-left: 20949 /  32% / -29.72 dB,   front-right: 20949 /  32% / -29.72 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Latency: 0 usec, configured 0 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 = "ALC668 Analog"
		alsa.id = "ALC668 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		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 ALC668"
		alsa.components = "HDA:10ec0668,104318dd,00100003"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (priority: 10000)
		analog-output-headphones: Headphones (priority: 9000, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

Sink #2
	State: SUSPENDED
	Name: alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo
	Description: Audioengine D3 Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s24le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 26
	Mute: no
	Volume: front-left: 67502 / 103% / 0.77 dB,   front-right: 67502 / 103% / 0.77 dB
	        balance 0.00
	Base Volume: 65035 /  99% / -0.20 dB
	Monitor Source: alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "24"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "Audioengine D3"
		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
		device.bus = "usb"
		device.vendor.id = "2912"
		device.vendor.name = "Audioengine"
		device.product.id = "120b"
		device.product.name = "Audioengine D3"
		device.serial = "Audioengine_Audioengine_D3_Audioengine"
		device.string = "hw:2"
		device.buffering.buffer_size = "26448"
		device.buffering.fragment_size = "6612"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Audioengine D3 Analog Stereo"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB2912:120b"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		analog-output: Analog Output (priority: 9900)
	Active Port: analog-output
	Formats:
		pcm

Source #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor
	Description: Monitor of Built-in Audio Digital Stereo (HDMI)
	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_03.0.hdmi-stereo
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Source #1
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1b.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: 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_00_1b.0.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Formats:
		pcm

Source #2
	State: RUNNING
	Name: alsa_input.pci-0000_00_1b.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: 7
	Mute: no
	Volume: front-left: 31914 /  49% / -18.75 dB,   front-right: 31914 /  49% / -18.75 dB
	        balance 0.00
	Base Volume: 20724 /  32% / -30.00 dB
	Monitor of Sink: n/a
	Latency: 2408 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 = "ALC668 Analog"
		alsa.id = "ALC668 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		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 ALC668"
		alsa.components = "HDA:10ec0668,104318dd,00100003"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-input-mic: Microphone (priority: 8700)
	Active Port: analog-input-mic
	Formats:
		pcm

Source #3
	State: SUSPENDED
	Name: alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo.monitor
	Description: Monitor of Audioengine D3 Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s24le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 26
	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.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		device.description = "Monitor of Audioengine D3 Analog Stereo"
		device.class = "monitor"
		alsa.card = "2"
		alsa.card_name = "Audioengine D3"
		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
		device.bus = "usb"
		device.vendor.id = "2912"
		device.vendor.name = "Audioengine"
		device.product.id = "120b"
		device.product.name = "Audioengine D3"
		device.serial = "Audioengine_Audioengine_D3_Audioengine"
		device.string = "2"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Formats:
		pcm

Source Output #3
	Driver: protocol-native.c
	Owner Module: 12
	Client: 52
	Source: 2
	Sample Specification: float32le 1ch 25Hz
	Channel Map: mono
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "25"  format.channels = "1"  format.channel_map = "\"mono\""
	Corked: no
	Mute: no
	Volume: mono: 31914 /  49% / -18.75 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Source Latency: 2554 usec
	Resample method: peaks
	Properties:
		application.id = "org.gnome.VolumeControl"
		media.name = "Peak detect"
		application.name = "GNOME Volume Control Dialog"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.18.2"
		application.process.id = "5312"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-control-center"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"
		module-stream-restore.id = "source-output-by-application-id:org.gnome.VolumeControl"

Client #0
	Driver: module-systemd-login.c
	Owner Module: 18
	Properties:
		application.name = "Login Session 1"
		systemd-login.session = "1"

Client #3
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "GNOME Volume Control Media Keys"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.18.2"
		application.process.id = "2296"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-settings-daemon"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Client #6
	Driver: module-x11-xsmp.c
	Owner Module: 25
	Properties:
		application.name = "XSMP Session on gnome-session as 10f312bba46b4eb822144876763922663400000021820030"
		xsmp.vendor = "gnome-session"
		xsmp.client.id = "10f312bba46b4eb822144876763922663400000021820030"

Client #7
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "GNOME Shell"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.Shell"
		application.icon_name = "start-here"
		application.language = "en_US.UTF-8"
		window.x11.screen = "0"
		window.x11.display = ":0"
		application.process.id = "2382"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-shell"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Client #8
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "GNOME Shell Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.18.3"
		application.process.id = "2382"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-shell"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Client #10
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "Chrome input"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.process.id = "19258"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "chrome"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Client #52
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "GNOME Volume Control Dialog"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.18.2"
		application.process.id = "5312"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-control-center"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Client #54
	Driver: protocol-native.c
	Owner Module: 12
	Properties:
		application.name = "pactl"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.process.id = "8686"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "pactl"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Sample #0
	Name: bell-window-system
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Volume: (invalid)
	        balance 0.00
	Duration: 0.1s
	Size: 24.0 KiB
	Lazy: no
	Filename: n/a
	Properties:
		media.role = "event"
		application.process.id = "2799"
		application.name = "gnome-terminal-server"
		event.description = "Bell event"
		event.id = "bell-window-system"
		media.name = "bell-window-system"
		media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "30"
		application.id = "org.gnome.Shell"
		application.icon_name = "start-here"
		application.language = "en_US.UTF-8"
		window.x11.screen = "0"
		window.x11.display = ":0"
		application.process.user = "ming"
		application.process.host = "MiWiFi-R1CM-srv"
		application.process.binary = "gnome-shell"
		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
		application.process.session_id = "1"

Card #0
	Name: alsa_card.pci-0000_00_03.0
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5200, available: yes)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: yes)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: yes)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5200, available: yes)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: yes)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2

Card #1
	Name: alsa_card.pci-0000_00_1b.0
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

Card #2
	Name: alsa_card.usb-Audioengine_Audioengine_D3_Audioengine-00
	Driver: module-alsa-card.c
	Owner Module: 26
	Properties:
		alsa.card = "2"
		alsa.card_name = "Audioengine D3"
		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
		device.bus = "usb"
		device.vendor.id = "2912"
		device.vendor.name = "Audioengine"
		device.product.id = "120b"
		device.product.name = "Audioengine D3"
		device.serial = "Audioengine_Audioengine_D3_Audioengine"
		device.string = "2"
		device.description = "Audioengine D3"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo
	Ports:
		analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
			Part of profile(s): output:analog-stereo
Comment 3 tewilove 2015-12-02 02:30:05 UTC
(In reply to tewilove from comment #2)
> alsa-info when doing nothing:
> http://www.alsa-project.org/db/?f=c713652b7602889c68f688d72cfb49af215d2336
> alsa-info when using VLC(alsa aout, working volume control):
> http://www.alsa-project.org/db/?f=4d8dd20c7a5c5405b32ed11fd06f70dab3cdc30d
> alsa-info when using rhythmbox(half volume but behaves mute):
> http://www.alsa-project.org/db/?f=e6b7dd058a6c08661f9791e91440b55a8929f7a3
> alsa-info when using rhythmbox(full volume):
> http://www.alsa-project.org/db/?f=1fb0310863e9c194f1ac7d9280ed9cb5cd06b71a
> 
> [ming@MiWiFi-R1CM-srv rhythmbox]$ pactl list
> Module #0
> 	Name: module-device-restore
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Automatically restore the volume/mute state of
> devices"
> 		module.version = "7.1"
> 
> Module #1
> 	Name: module-stream-restore
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Automatically restore the volume/mute/device state
> of streams"
> 		module.version = "7.1"
> 
> Module #2
> 	Name: module-card-restore
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Automatically restore profile of cards"
> 		module.version = "7.1"
> 
> Module #3
> 	Name: module-augment-properties
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Augment the property sets of streams with additional
> static information"
> 		module.version = "7.1"
> 
> Module #4
> 	Name: module-switch-on-port-available
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		
> 
> Module #5
> 	Name: module-udev-detect
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Detect available audio hardware and load matching
> drivers"
> 		module.version = "7.1"
> 
> Module #6
> 	Name: module-alsa-card
> 	Argument: device_id="0" name="pci-0000_00_03.0"
> card_name="alsa_card.pci-0000_00_03.0" namereg_fail=false tsched=yes
> fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
> card_properties="module-udev-detect.discovered=1"
> 	Usage counter: 0
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "ALSA Card"
> 		module.version = "7.1"
> 
> Module #7
> 	Name: module-alsa-card
> 	Argument: device_id="1" name="pci-0000_00_1b.0"
> card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes
> fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes
> card_properties="module-udev-detect.discovered=1"
> 	Usage counter: 1
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "ALSA Card"
> 		module.version = "7.1"
> 
> Module #8
> 	Name: module-bluetooth-policy
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Frédéric Dalleau"
> 		module.description = "When a bluetooth sink or source is added, load
> module-loopback"
> 		module.version = "7.1"
> 
> Module #9
> 	Name: module-bluetooth-discover
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "João Paulo Rechi Vita"
> 		module.description = "Detect available Bluetooth daemon and load the
> corresponding discovery module"
> 		module.version = "7.1"
> 
> Module #10
> 	Name: module-bluez5-discover
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "João Paulo Rechi Vita"
> 		module.description = "Detect available BlueZ 5 Bluetooth audio devices and
> load BlueZ 5 Bluetooth audio drivers"
> 		module.version = "7.1"
> 
> Module #11
> 	Name: module-esound-protocol-unix
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "ESOUND protocol (UNIX sockets)"
> 		module.version = "7.1"
> 
> Module #12
> 	Name: module-native-protocol-unix
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Native protocol (UNIX sockets)"
> 		module.version = "7.1"
> 
> Module #13
> 	Name: module-default-device-restore
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Automatically restore the default sink and source"
> 		module.version = "7.1"
> 
> Module #14
> 	Name: module-rescue-streams
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "When a sink/source is removed, try to move its
> streams to the default sink/source"
> 		module.version = "7.1"
> 
> Module #15
> 	Name: module-always-sink
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Colin Guthrie"
> 		module.description = "Always keeps at least one sink loaded even if it's a
> null one"
> 		module.version = "7.1"
> 
> Module #16
> 	Name: module-intended-roles
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Automatically set device of streams based on
> intended roles of devices"
> 		module.version = "7.1"
> 
> Module #17
> 	Name: module-suspend-on-idle
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "When a sink/source is idle for too long, suspend it"
> 		module.version = "7.1"
> 
> Module #18
> 	Name: module-systemd-login
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Create a client for each login session of this user"
> 		module.version = "7.1"
> 
> Module #19
> 	Name: module-position-event-sounds
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Position event sounds between L and R depending on
> the position on screen of the widget triggering them."
> 		module.version = "7.1"
> 
> Module #20
> 	Name: module-role-cork
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Mute & cork streams with certain roles while others
> exist"
> 		module.version = "7.1"
> 
> Module #21
> 	Name: module-filter-heuristics
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Colin Guthrie"
> 		module.description = "Detect when various filters are desirable"
> 		module.version = "7.1"
> 
> Module #22
> 	Name: module-filter-apply
> 	Argument: 
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Colin Guthrie"
> 		module.description = "Load filter sinks automatically when needed"
> 		module.version = "7.1"
> 
> Module #23
> 	Name: module-x11-publish
> 	Argument: display=:0
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "X11 credential publisher"
> 		module.version = "7.1"
> 
> Module #24
> 	Name: module-x11-cork-request
> 	Argument: display=:0
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "Synthesize X11 media key events when cork/uncork is
> requested"
> 		module.version = "7.1"
> 
> Module #25
> 	Name: module-x11-xsmp
> 	Argument: display=:0
> session_manager=local/unix:@/tmp/.ICE-unix/2182,unix/unix:/tmp/.ICE-unix/2182
> 	Usage counter: n/a
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "X11 session management"
> 		module.version = "7.1"
> 
> Module #26
> 	Name: module-alsa-card
> 	Argument: device_id="2"
> name="usb-Audioengine_Audioengine_D3_Audioengine-00"
> card_name="alsa_card.usb-Audioengine_Audioengine_D3_Audioengine-00"
> namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
> deferred_volume=yes use_ucm=yes
> card_properties="module-udev-detect.discovered=1"
> 	Usage counter: 0
> 	Properties:
> 		module.author = "Lennart Poettering"
> 		module.description = "ALSA Card"
> 		module.version = "7.1"
> 
> Sink #0
> 	State: SUSPENDED
> 	Name: alsa_output.pci-0000_00_03.0.hdmi-stereo
> 	Description: Built-in Audio Digital Stereo (HDMI)
> 	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 Source: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor
> 	Latency: 0 usec, configured 0 usec
> 	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
> 	Properties:
> 		alsa.resolution_bits = "16"
> 		device.api = "alsa"
> 		device.class = "sound"
> 		alsa.class = "generic"
> 		alsa.subclass = "generic-mix"
> 		alsa.name = "HDMI 0"
> 		alsa.id = "HDMI 0"
> 		alsa.subdevice = "0"
> 		alsa.subdevice_name = "subdevice #0"
> 		alsa.device = "3"
> 		alsa.card = "0"
> 		alsa.card_name = "HDA Intel HDMI"
> 		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:03.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "0c0c"
> 		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "hdmi:0"
> 		device.buffering.buffer_size = "352768"
> 		device.buffering.fragment_size = "176384"
> 		device.access_mode = "mmap+timer"
> 		device.profile.name = "hdmi-stereo"
> 		device.profile.description = "Digital Stereo (HDMI)"
> 		device.description = "Built-in Audio Digital Stereo (HDMI)"
> 		alsa.mixer_name = "Intel Haswell HDMI"
> 		alsa.components = "HDA:80862807,80860101,00100000"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Ports:
> 		hdmi-output-0: HDMI / DisplayPort (priority: 5900, not available)
> 	Active Port: hdmi-output-0
> 	Formats:
> 		pcm
> 
> Sink #1
> 	State: SUSPENDED
> 	Name: alsa_output.pci-0000_00_1b.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: 7
> 	Mute: no
> 	Volume: front-left: 20949 /  32% / -29.72 dB,   front-right: 20949 /  32% /
> -29.72 dB
> 	        balance 0.00
> 	Base Volume: 65536 / 100% / 0.00 dB
> 	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
> 	Latency: 0 usec, configured 0 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 = "ALC668 Analog"
> 		alsa.id = "ALC668 Analog"
> 		alsa.subdevice = "0"
> 		alsa.subdevice_name = "subdevice #0"
> 		alsa.device = "0"
> 		alsa.card = "1"
> 		alsa.card_name = "HDA Intel PCH"
> 		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:1b.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "8c20"
> 		device.product.name = "8 Series/C220 Series Chipset High Definition Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "front:1"
> 		device.buffering.buffer_size = "352800"
> 		device.buffering.fragment_size = "176400"
> 		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 ALC668"
> 		alsa.components = "HDA:10ec0668,104318dd,00100003"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Ports:
> 		analog-output-speaker: Speakers (priority: 10000)
> 		analog-output-headphones: Headphones (priority: 9000, not available)
> 	Active Port: analog-output-speaker
> 	Formats:
> 		pcm
> 
> Sink #2
> 	State: SUSPENDED
> 	Name:
> alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo
> 	Description: Audioengine D3 Analog Stereo
> 	Driver: module-alsa-card.c
> 	Sample Specification: s24le 2ch 44100Hz
> 	Channel Map: front-left,front-right
> 	Owner Module: 26
> 	Mute: no
> 	Volume: front-left: 67502 / 103% / 0.77 dB,   front-right: 67502 / 103% /
> 0.77 dB
> 	        balance 0.00
> 	Base Volume: 65035 /  99% / -0.20 dB
> 	Monitor Source:
> alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo.
> monitor
> 	Latency: 0 usec, configured 0 usec
> 	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
> 	Properties:
> 		alsa.resolution_bits = "24"
> 		device.api = "alsa"
> 		device.class = "sound"
> 		alsa.class = "generic"
> 		alsa.subclass = "generic-mix"
> 		alsa.name = "USB Audio"
> 		alsa.id = "USB Audio"
> 		alsa.subdevice = "0"
> 		alsa.subdevice_name = "subdevice #0"
> 		alsa.device = "0"
> 		alsa.card = "2"
> 		alsa.card_name = "Audioengine D3"
> 		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4,
> full speed"
> 		alsa.driver_name = "snd_usb_audio"
> 		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
> 		sysfs.path =
> "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
> 		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
> 		device.bus = "usb"
> 		device.vendor.id = "2912"
> 		device.vendor.name = "Audioengine"
> 		device.product.id = "120b"
> 		device.product.name = "Audioengine D3"
> 		device.serial = "Audioengine_Audioengine_D3_Audioengine"
> 		device.string = "hw:2"
> 		device.buffering.buffer_size = "26448"
> 		device.buffering.fragment_size = "6612"
> 		device.access_mode = "mmap"
> 		device.profile.name = "analog-stereo"
> 		device.profile.description = "Analog Stereo"
> 		device.description = "Audioengine D3 Analog Stereo"
> 		alsa.mixer_name = "USB Mixer"
> 		alsa.components = "USB2912:120b"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-usb"
> 	Ports:
> 		analog-output: Analog Output (priority: 9900)
> 	Active Port: analog-output
> 	Formats:
> 		pcm
> 
> Source #0
> 	State: SUSPENDED
> 	Name: alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor
> 	Description: Monitor of Built-in Audio Digital Stereo (HDMI)
> 	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_03.0.hdmi-stereo
> 	Latency: 0 usec, configured 0 usec
> 	Flags: DECIBEL_VOLUME LATENCY 
> 	Properties:
> 		device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
> 		device.class = "monitor"
> 		alsa.card = "0"
> 		alsa.card_name = "HDA Intel HDMI"
> 		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:03.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "0c0c"
> 		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "0"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Formats:
> 		pcm
> 
> Source #1
> 	State: SUSPENDED
> 	Name: alsa_output.pci-0000_00_1b.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: 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_00_1b.0.analog-stereo
> 	Latency: 0 usec, configured 0 usec
> 	Flags: DECIBEL_VOLUME LATENCY 
> 	Properties:
> 		device.description = "Monitor of Built-in Audio Analog Stereo"
> 		device.class = "monitor"
> 		alsa.card = "1"
> 		alsa.card_name = "HDA Intel PCH"
> 		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:1b.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "8c20"
> 		device.product.name = "8 Series/C220 Series Chipset High Definition Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "1"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Formats:
> 		pcm
> 
> Source #2
> 	State: RUNNING
> 	Name: alsa_input.pci-0000_00_1b.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: 7
> 	Mute: no
> 	Volume: front-left: 31914 /  49% / -18.75 dB,   front-right: 31914 /  49% /
> -18.75 dB
> 	        balance 0.00
> 	Base Volume: 20724 /  32% / -30.00 dB
> 	Monitor of Sink: n/a
> 	Latency: 2408 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 = "ALC668 Analog"
> 		alsa.id = "ALC668 Analog"
> 		alsa.subdevice = "0"
> 		alsa.subdevice_name = "subdevice #0"
> 		alsa.device = "0"
> 		alsa.card = "1"
> 		alsa.card_name = "HDA Intel PCH"
> 		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:1b.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "8c20"
> 		device.product.name = "8 Series/C220 Series Chipset High Definition Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "front:1"
> 		device.buffering.buffer_size = "352800"
> 		device.buffering.fragment_size = "176400"
> 		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 ALC668"
> 		alsa.components = "HDA:10ec0668,104318dd,00100003"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Ports:
> 		analog-input-mic: Microphone (priority: 8700)
> 	Active Port: analog-input-mic
> 	Formats:
> 		pcm
> 
> Source #3
> 	State: SUSPENDED
> 	Name:
> alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo.
> monitor
> 	Description: Monitor of Audioengine D3 Analog Stereo
> 	Driver: module-alsa-card.c
> 	Sample Specification: s24le 2ch 44100Hz
> 	Channel Map: front-left,front-right
> 	Owner Module: 26
> 	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.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo
> 	Latency: 0 usec, configured 0 usec
> 	Flags: DECIBEL_VOLUME LATENCY 
> 	Properties:
> 		device.description = "Monitor of Audioengine D3 Analog Stereo"
> 		device.class = "monitor"
> 		alsa.card = "2"
> 		alsa.card_name = "Audioengine D3"
> 		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4,
> full speed"
> 		alsa.driver_name = "snd_usb_audio"
> 		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
> 		sysfs.path =
> "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
> 		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
> 		device.bus = "usb"
> 		device.vendor.id = "2912"
> 		device.vendor.name = "Audioengine"
> 		device.product.id = "120b"
> 		device.product.name = "Audioengine D3"
> 		device.serial = "Audioengine_Audioengine_D3_Audioengine"
> 		device.string = "2"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-usb"
> 	Formats:
> 		pcm
> 
> Source Output #3
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Client: 52
> 	Source: 2
> 	Sample Specification: float32le 1ch 25Hz
> 	Channel Map: mono
> 	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "25" 
> format.channels = "1"  format.channel_map = "\"mono\""
> 	Corked: no
> 	Mute: no
> 	Volume: mono: 31914 /  49% / -18.75 dB
> 	        balance 0.00
> 	Buffer Latency: 0 usec
> 	Source Latency: 2554 usec
> 	Resample method: peaks
> 	Properties:
> 		application.id = "org.gnome.VolumeControl"
> 		media.name = "Peak detect"
> 		application.name = "GNOME Volume Control Dialog"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.icon_name = "multimedia-volume-control"
> 		application.version = "3.18.2"
> 		application.process.id = "5312"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-control-center"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 		module-stream-restore.id =
> "source-output-by-application-id:org.gnome.VolumeControl"
> 
> Client #0
> 	Driver: module-systemd-login.c
> 	Owner Module: 18
> 	Properties:
> 		application.name = "Login Session 1"
> 		systemd-login.session = "1"
> 
> Client #3
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "GNOME Volume Control Media Keys"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.id = "org.gnome.VolumeControl"
> 		application.icon_name = "multimedia-volume-control"
> 		application.version = "3.18.2"
> 		application.process.id = "2296"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-settings-daemon"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Client #6
> 	Driver: module-x11-xsmp.c
> 	Owner Module: 25
> 	Properties:
> 		application.name = "XSMP Session on gnome-session as
> 10f312bba46b4eb822144876763922663400000021820030"
> 		xsmp.vendor = "gnome-session"
> 		xsmp.client.id = "10f312bba46b4eb822144876763922663400000021820030"
> 
> Client #7
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "GNOME Shell"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.id = "org.gnome.Shell"
> 		application.icon_name = "start-here"
> 		application.language = "en_US.UTF-8"
> 		window.x11.screen = "0"
> 		window.x11.display = ":0"
> 		application.process.id = "2382"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-shell"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Client #8
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "GNOME Shell Volume Control"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.id = "org.gnome.VolumeControl"
> 		application.icon_name = "multimedia-volume-control"
> 		application.version = "3.18.3"
> 		application.process.id = "2382"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-shell"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Client #10
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "Chrome input"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.process.id = "19258"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "chrome"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Client #52
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "GNOME Volume Control Dialog"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.id = "org.gnome.VolumeControl"
> 		application.icon_name = "multimedia-volume-control"
> 		application.version = "3.18.2"
> 		application.process.id = "5312"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-control-center"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Client #54
> 	Driver: protocol-native.c
> 	Owner Module: 12
> 	Properties:
> 		application.name = "pactl"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.process.id = "8686"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "pactl"
> 		application.language = "en_US.UTF-8"
> 		window.x11.display = ":0"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Sample #0
> 	Name: bell-window-system
> 	Sample Specification: s16le 2ch 44100Hz
> 	Channel Map: front-left,front-right
> 	Volume: (invalid)
> 	        balance 0.00
> 	Duration: 0.1s
> 	Size: 24.0 KiB
> 	Lazy: no
> 	Filename: n/a
> 	Properties:
> 		media.role = "event"
> 		application.process.id = "2799"
> 		application.name = "gnome-terminal-server"
> 		event.description = "Bell event"
> 		event.id = "bell-window-system"
> 		media.name = "bell-window-system"
> 		media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga"
> 		native-protocol.peer = "UNIX socket client"
> 		native-protocol.version = "30"
> 		application.id = "org.gnome.Shell"
> 		application.icon_name = "start-here"
> 		application.language = "en_US.UTF-8"
> 		window.x11.screen = "0"
> 		window.x11.display = ":0"
> 		application.process.user = "ming"
> 		application.process.host = "MiWiFi-R1CM-srv"
> 		application.process.binary = "gnome-shell"
> 		application.process.machine_id = "59cbe5be7cf84e21b2bc419770103c2d"
> 		application.process.session_id = "1"
> 
> Card #0
> 	Name: alsa_card.pci-0000_00_03.0
> 	Driver: module-alsa-card.c
> 	Owner Module: 6
> 	Properties:
> 		alsa.card = "0"
> 		alsa.card_name = "HDA Intel HDMI"
> 		alsa.long_card_name = "HDA Intel HDMI at 0xee414000 irq 41"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:03.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "0c0c"
> 		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "0"
> 		device.description = "Built-in Audio"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Profiles:
> 		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0,
> priority: 5400, available: yes)
> 		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1,
> sources: 0, priority: 300, available: yes)
> 		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1,
> sources: 0, priority: 300, available: yes)
> 		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1,
> sources: 0, priority: 5200, available: yes)
> 		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks:
> 1, sources: 0, priority: 100, available: yes)
> 		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output
> (sinks: 1, sources: 0, priority: 100, available: yes)
> 		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1,
> sources: 0, priority: 5200, available: yes)
> 		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks:
> 1, sources: 0, priority: 100, available: yes)
> 		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output
> (sinks: 1, sources: 0, priority: 100, available: yes)
> 		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
> 	Active Profile: output:hdmi-stereo
> 	Ports:
> 		hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec,
> not available)
> 			Properties:
> 				device.icon_name = "video-display"
> 			Part of profile(s): output:hdmi-stereo, output:hdmi-surround,
> output:hdmi-surround71
> 		hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0
> usec, not available)
> 			Properties:
> 				device.icon_name = "video-display"
> 			Part of profile(s): output:hdmi-stereo-extra1,
> output:hdmi-surround-extra1, output:hdmi-surround71-extra1
> 		hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0
> usec, not available)
> 			Properties:
> 				device.icon_name = "video-display"
> 			Part of profile(s): output:hdmi-stereo-extra2,
> output:hdmi-surround-extra2, output:hdmi-surround71-extra2
> 
> Card #1
> 	Name: alsa_card.pci-0000_00_1b.0
> 	Driver: module-alsa-card.c
> 	Owner Module: 7
> 	Properties:
> 		alsa.card = "1"
> 		alsa.card_name = "HDA Intel PCH"
> 		alsa.long_card_name = "HDA Intel PCH at 0xee410000 irq 40"
> 		alsa.driver_name = "snd_hda_intel"
> 		device.bus_path = "pci-0000:00:1b.0"
> 		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
> 		device.bus = "pci"
> 		device.vendor.id = "8086"
> 		device.vendor.name = "Intel Corporation"
> 		device.product.id = "8c20"
> 		device.product.name = "8 Series/C220 Series Chipset High Definition Audio
> Controller"
> 		device.form_factor = "internal"
> 		device.string = "1"
> 		device.description = "Built-in Audio"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-pci"
> 	Profiles:
> 		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority:
> 60, available: yes)
> 		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0,
> priority: 6000, available: yes)
> 		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1,
> sources: 1, priority: 6060, available: yes)
> 		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
> 	Active Profile: output:analog-stereo+input:analog-stereo
> 	Ports:
> 		analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)
> 			Properties:
> 				device.icon_name = "audio-input-microphone"
> 			Part of profile(s): input:analog-stereo,
> output:analog-stereo+input:analog-stereo
> 		analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
> 			Properties:
> 				device.icon_name = "audio-speakers"
> 			Part of profile(s): output:analog-stereo,
> output:analog-stereo+input:analog-stereo
> 		analog-output-headphones: Headphones (priority: 9000, latency offset: 0
> usec, not available)
> 			Properties:
> 				device.icon_name = "audio-headphones"
> 			Part of profile(s): output:analog-stereo,
> output:analog-stereo+input:analog-stereo
> 
> Card #2
> 	Name: alsa_card.usb-Audioengine_Audioengine_D3_Audioengine-00
> 	Driver: module-alsa-card.c
> 	Owner Module: 26
> 	Properties:
> 		alsa.card = "2"
> 		alsa.card_name = "Audioengine D3"
> 		alsa.long_card_name = "Audioengine Audioengine D3 at usb-0000:00:14.0-3.4,
> full speed"
> 		alsa.driver_name = "snd_usb_audio"
> 		device.bus_path = "pci-0000:00:14.0-usb-0:3.4:1.0"
> 		sysfs.path =
> "/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/sound/card2"
> 		udev.id = "usb-Audioengine_Audioengine_D3_Audioengine-00"
> 		device.bus = "usb"
> 		device.vendor.id = "2912"
> 		device.vendor.name = "Audioengine"
> 		device.product.id = "120b"
> 		device.product.name = "Audioengine D3"
> 		device.serial = "Audioengine_Audioengine_D3_Audioengine"
> 		device.string = "2"
> 		device.description = "Audioengine D3"
> 		module-udev-detect.discovered = "1"
> 		device.icon_name = "audio-card-usb"
> 	Profiles:
> 		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0,
> priority: 6000, available: yes)
> 		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
> 	Active Profile: output:analog-stereo
> 	Ports:
> 		analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
> 			Part of profile(s): output:analog-stereo

Sorry, missed one,
alsa-info(VLC, alsa aout, another):
http://www.alsa-project.org/db/?f=31d69484b3052e71860626c46ed16b804054dec6
Comment 4 Raymond 2015-12-02 08:49:24 UTC
control.3 { 
iface MIXER 
name 'PCM Playback Volume' 
value.0 53 value.1 53 
comment { access 'read write' 
type INTEGER count 2 
range '0 - 53' 
dbmin 0 dbmax 20 dbvalue.0 20 
dbvalue.1 20 } } }


Pulseaudio expect dB range of playback volume control is atten (i.e. below zero dB)
Comment 5 Raymond 2015-12-02 08:54:32 UTC
Element PCM is defined in http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output.conf.common


Pulseaudio need to differentitate softvol PCM playback volume and sound card PCM playback volume
Comment 6 Raymond 2015-12-02 08:57:34 UTC
You need pulseaudio verbose log to show how pulseaudio treat PCM playback volume of USB audio and softvol PCM playback volume of your onboard HDA-Intel
Comment 7 Raymond 2015-12-02 14:58:57 UTC
control.15 { 
iface MIXER 
name 'PCM Playback Volume' 
value.0 255 value.1 255 
comment { access 'read write user' 
type INTEGER count 2 range '0 - 255' 
tlv '0000000100000008ffffec1400000014' 
dbmin -5100 dbmax 0 
dbvalue.0 0 dbvalue.1 0 } }

Softvol of hda-intel

The difference is 'user'
Comment 8 Raymond 2015-12-02 15:37:50 UTC
Sink #2 State: SUSPENDED 
Name: alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo 
Description: Audioengine D3 Analog Stereo 
Driver: module-alsa-card.c 
Sample Specification: s24le 2ch 44100Hz 
Channel Map: front-left,front-right 
Owner Module: 26 
Mute: no 
Volume: front-left: 67502 / 103% / 0.77 dB, front-right: 67502 / 103% / 0.77 dB balance 0.00 
Base Volume: 65035 / 99% / -0.20 dB 
Monitor Source: alsa_output.usb-Audioengine_Audioengine_D3_Audioengine-00.analog-stereo.monitor 
Latency: 0 usec, configured 0 usec 
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
Properties: alsa.resolution_bits = "24"
Comment 9 tewilove 2015-12-04 07:02:43 UTC
Hi, could you please tell me how to configure or to the man page so that I can grab the exact log you needed? ALSA seems to be too complex to me.
Comment 10 Raymond 2015-12-04 07:16:57 UTC
https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems

do you get no sound when PCM Playback Volume is at 0dB 

and max volume when PCM playback Volume is at 20dB
Comment 11 Raymond 2015-12-04 15:48:49 UTC
Simple mixer control 'PCM',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 53 Mono: Front Left: Playback 53 [100%] [0.20dB] [on] Front Right: Playback 53 [100%] [0.20dB]
 [on]

Most likely bug of driver if dB range is only just 0.2 dB
Comment 12 Raymond 2015-12-04 16:01:01 UTC
If volume at step 0 is minimum and step 53 is maximum loudness

You need to modify driver to report correct dB range by shift the dB range and calibrate by find out how many steps can reduce a sine wave  signal to half
Comment 13 Raymond 2015-12-04 16:29:21 UTC
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/usb?id=c3a3e040f01457d2ea4f199f75ca205401001a3b

Your dB per step (0.2/53) are less than ALSA 1/100 and USB 1/256
Comment 14 Raymond 2015-12-14 15:59:41 UTC
You need similar fix for the incorrect dB range


https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=42e3121d90f42e57f6dbd6083dff2f57b3ec7daa
Comment 15 GitLab Migration User 2018-07-30 10:39:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/556.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.