[Ardour-Dev] option to Disable pop sound at Startup?

Ben Simons Ben.Simons at uts.edu.au
Tue Aug 1 18:00:41 PDT 2017


Hi Paul,


Thx for your reply. Apologies. I thought the "On Land" gentoo

line was sufficient. Does the pop-sound depend on the platform?

Oh! Is the pop indicating an error?


Ardour5 runs on a couple of machines here,

all up-to-date gentoo linux, running


  ALSA <- JACK <- PULSE_AUDIO


Jack is started with qjackctl, which in turn starts pulseaudio

such that it feeds back into jack. Took a while to get right.

Seems to be okay (famous last words)  ;)


qjackqtl has post-startup commands to pactl load-module jack-sink. ie.


    pactl load-module module-jack-sink channels=22; \

    pactl load-module module-jack-source channels=22; \

    pacmd set-default-sink jack_out; pacmd set-default-source jack_in


The main system is connected by USB to an RME Fireface UFX (22chan)

It runs in USB CC Mode. http://forum.rme-audio.de/viewtopic.php?id=16845


Further RME details (lsusb and pactl) are attached in textfiles.



Another has an Asus Xonar DG PCI uses the CMI8786 chipset

and will be recognized by the kernel in the following way:

% lspci -v | grep -A7 -i audio

84:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
        Subsystem: ASUSTeK Computer Inc. Device 8521
        Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at f000 [size=256]
        Capabilities: [c0] Power Management version 2

The kernel module snd-oxygen is used to control the card.



Both systems make a pop-sound when Ardour5 starts.


cheers,

ben.

________________________________
From: Paul Davis <paul at linuxaudiosystems.com>
Sent: Tuesday, 1 August 2017 11:23 PM
To: Ben Simons
Cc: ardour-dev mailing list
Subject: Re: [Ardour-Dev] option to Disable pop sound at Startup?

What platform are you on? Which audio/MIDI backend are you using (ALSA, JACK, CoreAudio, etc. etc.) ?

On Tue, Aug 1, 2017 at 2:51 AM, Ben Simons <Ben.Simons at uts.edu.au<mailto:Ben.Simons at uts.edu.au>> wrote:

Hi


Is there a way to disable the "pop" sound Ardour5 makes at startup?


On our large speaker system this comes out incredibly loud!

Everyone jumps. Everytime. Would love to turn it off.


Have looked through Prefs & settings & Googled it and cannot find

an option to disable it.


Ardour 5.9.0 "On Land" (rev 5.9-gentoo) Intel 64-bit


thanks,

ben.


UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. Think. Green. Do. Please consider the environment before printing this email.

_______________________________________________
ardour-dev mailing list
ardour-dev at lists.ardour.org<mailto:ardour-dev at lists.ardour.org>
http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org


UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. Think. Green. Do. Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20170802/4731dd02/attachment-0002.htm>
-------------- next part --------------
Script started on Wed Aug  2 10:30:49 2017

 # hostname
solo.da.uts.edu.au

 # uname -a
Linux solo.da.uts.edu.au 4.9.16-gentoo #1 SMP Mon May 1 16:52:37 AEST 2017 x86_64 Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz GenuineIntel GNU/Linux

 # date
Wed Aug  2 10:30:59 AEST 2017

 # lsusb -v -s 2:3

Bus 002 Device 003: ID 0424:3fb8 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x3fb8 
  bcdDevice            0.01
  iManufacturer           1 RME
  iProduct                2 Fireface UFX (23646444)
  iSerial                 3 ***********DFC8            <redacted - sorry. ben>
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          488
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         5
      bFunctionClass          1 Audio
      bFunctionSubClass       0 
      bFunctionProtocol      32 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol     32 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               2.00
        bCategory               8
        wTotalLength           85
        bmControl            0x00
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     10 (CLOCK_SOURCE)
        bClockID                1
        bmAttributes         0x03 Internal programmable Clock 
        bmControls           0x03
          Clock Frequency Control (read/write)
        bAssocTerminal          0
        iClockSource            0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bCSourceID              1
        bNrChannels             2
        bmChannelConfig   0x00000000
        bmControls    0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bCSourceID              1
        bNrChannels            22
        bmChannelConfig   0x00000000
        bmControls    0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               2
        bCSourceID              1
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        bCSourceID              1
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               3
        bmaControls( 0)      0x0000000c
          Volume Control (read/write)
        iFeature                0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels             2
        bmChannelConfig   0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
        AudioControl Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           17
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels            22
        bmChannelConfig   0x00000003
          Front Left (FL)
          Front Right (FR)
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
        AudioControl Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           17
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           6
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels            22
        bmChannelConfig   0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
        AudioControl Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           6
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels            12
        bmChannelConfig   0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
        AudioControl Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      3 MIDI Streaming
      bInterfaceProtocol      0 
      iInterface              2 Fireface UFX (23646444)
      MIDIStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           97
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                 3
        bNrInputPins            1
        baSourceID( 0)          2
        BaSourcePin( 0)         1
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                 2
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                 7
        bNrInputPins            1
        baSourceID( 0)          6
        BaSourcePin( 0)         1
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                 6
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                11
        bNrInputPins            1
        baSourceID( 0)         10
        BaSourcePin( 0)         1
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                10
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 1
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                 4
        bNrInputPins            1
        baSourceID( 0)          4
        BaSourcePin( 0)         1
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 5
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                 8
        bNrInputPins            1
        baSourceID( 0)          8
        BaSourcePin( 0)         1
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 9
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                12
        bNrInputPins            1
        baSourceID( 0)         12
        BaSourcePin( 0)         1
        iJack                   6 Port 3
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         3
          baAssocJackID( 0)       1
          baAssocJackID( 1)       5
          baAssocJackID( 2)       9
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         3
          baAssocJackID( 0)       3
          baAssocJackID( 1)       7
          baAssocJackID( 2)      11
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x09  EP 9 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      0
Device Status:     0xfe00
  (Bus Powered)



-------------- next part --------------


Old notes on pactl - when the RME Fireface UFX was
connected to host "ig1". It is now connected to another
similar host "solo" with the same setup. Apologies, but
i am not sitting at solo right now (it's in another building)
and so cannot access the user's login to run pactl. Note that
pulseaudio runs as a user process, not a system process, so
an 'ssh solo' or 'su' on that machine to that user will not
have sufficient permission (X11). 


However, this should still be informative. Can send actual
current output from pactl upon request :)

The username and RME Serial No has been redacted with '***'

[ben 2Aug17]


--------------------------

pactl
Mon Apr 20 12:32:30 AEST 2015

* Really need to grok pactl - pulseaudio control
  eg: (pactl commands below)

  - note default channels are 2
  - note need to su to ******** as that's who is running pulseaudio!


	~ $ ssh ********@ig1
	~ $ pactl
	No valid command specified.
	~ $ pactl --help
	pactl [options] stat
	pactl [options] info
	pactl [options] list [short] [TYPE]
	pactl [options] exit
	pactl [options] upload-sample FILENAME [NAME]
	pactl [options] play-sample  NAME [SINK]
	pactl [options] remove-sample  NAME
	pactl [options] load-module  NAME [ARGS ...]
	pactl [options] unload-module  NAME|#N
	pactl [options] move-(sink-input|source-output) #N SINK|SOURCE
	pactl [options] suspend-(sink|source) NAME|#N 1|0
	pactl [options] set-card-profile  CARD PROFILE
	pactl [options] set-default-(sink|source) NAME
	pactl [options] set-(sink|source)-port NAME|#N PORT
	pactl [options] set-(sink|source)-volume NAME|#N VOLUME [VOLUME ...]
	pactl [options] set-(sink-input|source-output)-volume #N VOLUME [VOLUME ...]
	pactl [options] set-(sink|source)-mute NAME|#N 1|0|toggle
	pactl [options] set-(sink-input|source-output)-mute #N 1|0|toggle
	pactl [options] set-sink-formats #N FORMATS
	pactl [options] set-port-latency-offset CARD-NAME|CARD-#N PORT OFFSET
	pactl [options] subscribe

	The special names @DEFAULT_SINK@, @DEFAULT_SOURCE@ and @DEFAULT_MONITOR@
	can be used to specify the default sink, source and monitor.

	  -h, --help                            Show this help
		  --version                         Show version

	  -s, --server=SERVER                   The name of the server to connect to
	  -n, --client-name=NAME                How to call this client on the server
	~ $ pactl stat
	Currently in use: 19 blocks containing 179.8 KiB bytes total.
	Allocated during whole lifetime: 335495549 blocks containing 1.3 GiB bytes total.
	Sample cache size: 0 B
	~ $ pactl info
	Server String: /tmp/pulse-PKdhtXMmr18n/native
	Library Protocol Version: 30
	Server Protocol Version: 30
	Is Local: yes
	Client Index: 247
	Tile Size: 65472
	User Name: ********
	Host Name: ig1.da.uts.edu.au
	Server Name: pulseaudio
	Server Version: 6.0
	Default Sample Specification: s16le 2ch 44100Hz
	Default Channel Map: front-left,front-right
	Default Sink: jack_out
	Default Source: jack_in
	Cookie: 7af2:80f6
	~ $ 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 = "6.0"

	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 = "6.0"

	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 = "6.0"

	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 = "6.0"

	Module #4
		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 = "6.0"

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


	Module #6
		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 = "6.0"

	Module #7
		Name: module-alsa-card
		Argument: device_id="1" name="pci-0000_05_00.1" card_name="alsa_card.pci-0000_05_00.1" 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: 2
		Properties:
			module.author = "Lennart Poettering"
			module.description = "ALSA Card"
			module.version = "6.0"

	Module #8
		Name: module-alsa-card
		Argument: device_id="0" 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: 2
		Properties:
			module.author = "Lennart Poettering"
			module.description = "ALSA Card"
			module.version = "6.0"

	Module #9
		Name: module-alsa-card
		Argument: device_id="2" name="usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444" card_name="alsa_card.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444" 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 = "6.0"

	Module #10
		Name: module-jack-sink
		Argument: channels=22
		Usage counter: 1
		Properties:
			module.author = "Lennart Poettering"
			module.description = "JACK Sink"
			module.version = "6.0"

	Module #11
		Name: module-jack-source
		Argument:
		Usage counter: 1
		Properties:
			module.author = "Lennart Poettering"
			module.description = "JACK Source"
			module.version = "6.0"

	Module #12
		Name: module-null-sink
		Argument:
		Usage counter: 1
		Properties:
			module.author = "Lennart Poettering"
			module.description = "Clocked NULL sink"
			module.version = "6.0"

	Module #13
		Name: module-jackdbus-detect
		Argument: channels=22
		Usage counter: n/a
		Properties:
			module.author = "David Henningsson"
			module.description = "Adds JACK sink/source ports when JACK is started"
			module.version = "6.0"

	Module #14
		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 = "6.0"

	Module #15
		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 = "6.0"

	Module #16
		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 = "6.0"

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

	Module #18
		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 = "6.0"

	Module #19
		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 = "6.0"

	Module #20
		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 = "6.0"

	Module #21
		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 = "6.0"

	Module #22
		Name: module-console-kit
		Argument:
		Usage counter: n/a
		Properties:
			module.author = "Lennart Poettering"
			module.description = "Create a client for each ConsoleKit session of this user"
			module.version = "6.0"

	Module #23
		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 = "6.0"

	Module #24
		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 = "6.0"

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

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

	Sink #0
		State: IDLE
		Name: alsa_output.pci-0000_05_00.1.hdmi-stereo
		Description: GK110 HDMI Audio 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 Source: alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor
		Latency: 15052 usec, configured 20000 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 = "ID 44 Digital"
			alsa.id = "ID 44 Digital"
			alsa.subdevice = "0"
			alsa.subdevice_name = "subdevice #0"
			alsa.device = "3"
			alsa.card = "1"
			alsa.card_name = "HDA NVidia"
			alsa.long_card_name = "HDA NVidia at 0xfb080000 irq 55"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:05:00.1"
			sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:05:00.1/sound/card1"
			device.bus = "pci"
			device.vendor.id = "10de"
			device.vendor.name = "NVIDIA Corporation"
			device.product.id = "0e1a"
			device.product.name = "GK110 HDMI Audio"
			device.string = "hdmi:1"
			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 = "GK110 HDMI Audio Digital Stereo (HDMI)"
			alsa.mixer_name = "Nvidia ID 44"
			alsa.components = "HDA:10de0044,10de1036,00100100"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-pci"
		Ports:
			hdmi-output-0: HDMI / DisplayPort (priority: 5900)
		Active Port: hdmi-output-0
		Formats:
			pcm

	Sink #1
		State: IDLE
		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: 8
		Mute: no
		Volume: front-left: 9186 /  14% / -51.20 dB,   front-right: 9186 /  14% / -51.20 dB
				balance 0.00
		Base Volume: 65536 / 100% / 0.00 dB
		Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
		Latency: 14582 usec, configured 20000 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 = "ALC3220 Analog"
			alsa.id = "ALC3220 Analog"
			alsa.subdevice = "0"
			alsa.subdevice_name = "subdevice #0"
			alsa.device = "0"
			alsa.card = "0"
			alsa.card_name = "HDA Intel PCH"
			alsa.long_card_name = "HDA Intel PCH at 0xfb120000 irq 58"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:00:1b.0"
			sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
			device.bus = "pci"
			device.vendor.id = "8086"
			device.vendor.name = "Intel Corporation"
			device.product.id = "1d20"
			device.product.name = "C600/X79 series chipset High Definition Audio Controller"
			device.form_factor = "internal"
			device.string = "front:0"
			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 ALC3220"
			alsa.components = "HDA:10ec0280,102805a1,00100003"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-pci"
		Ports:
			analog-output-lineout: Line Out (priority: 9900, not available)
		Active Port: analog-output-lineout
		Formats:
			pcm

	Sink #2
		State: IDLE
		Name: jack_out
		Description: Jack sink (PulseAudio JACK Sink)
		Driver: module-jack-sink.c
		Sample Specification: float32le 22ch 44100Hz
		Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12,aux13
		Owner Module: 10
		Mute: yes
		Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   rear-left: 65536 / 100% / 0.00 dB,   rear-right: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   lfe: 65536 / 100% / 0.00 dB,   side-left: 65536 / 100% / 0.00 dB,   side-right: 65536 / 100% / 0.00 dB,   aux0: 65536 / 100% / 0.00 dB,   aux1: 65536 / 100% / 0.00 dB,   aux2: 65536 / 100% / 0.00 dB,   aux3: 65536 / 100% / 0.00 dB,   aux4: 65536 / 100% / 0.00 dB,   aux5: 65536 / 100% / 0.00 dB,   aux6: 65536 / 100% / 0.00 dB,   aux7: 65536 / 100% / 0.00 dB,   aux8: 65536 / 100% / 0.00 dB,   aux9: 65536 / 100% / 0.00 dB,   aux10: 65536 / 100% / 0.00 dB,   aux11: 65536 / 100% / 0.00 dB,   aux12: 65536 / 100% / 0.00 dB,   aux13: 65536 / 100% / 0.00 dB
				balance 0.00
		Base Volume: 65536 / 100% / 0.00 dB
		Monitor Source: jack_out.monitor
		Latency: 46371 usec, configured 23219 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.api = "jack"
			device.description = "Jack sink (PulseAudio JACK Sink)"
			jack.client_name = "PulseAudio JACK Sink"
			device.icon_name = "audio-card"
		Formats:
			pcm

	Sink #3
		State: IDLE
		Name: null
		Description: Null Output
		Driver: module-null-sink.c
		Sample Specification: s16le 2ch 44100Hz
		Channel Map: front-left,front-right
		Owner Module: 12
		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: null.monitor
		Latency: 7136 usec, configured 20000 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.description = "Null Output"
			device.class = "abstract"
			device.icon_name = "audio-card"
		Formats:
			pcm

	Source #0
		State: RUNNING
		Name: alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor
		Description: Monitor of GK110 HDMI Audio 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_05_00.1.hdmi-stereo
		Latency: 0 usec, configured 20000 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.description = "Monitor of GK110 HDMI Audio Digital Stereo (HDMI)"
			device.class = "monitor"
			alsa.card = "1"
			alsa.card_name = "HDA NVidia"
			alsa.long_card_name = "HDA NVidia at 0xfb080000 irq 55"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:05:00.1"
			sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:05:00.1/sound/card1"
			device.bus = "pci"
			device.vendor.id = "10de"
			device.vendor.name = "NVIDIA Corporation"
			device.product.id = "0e1a"
			device.product.name = "GK110 HDMI Audio"
			device.string = "1"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-pci"
		Formats:
			pcm

	Source #1
		State: RUNNING
		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: 8
		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 20000 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 Intel PCH"
			alsa.long_card_name = "HDA Intel PCH at 0xfb120000 irq 58"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:00:1b.0"
			sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
			device.bus = "pci"
			device.vendor.id = "8086"
			device.vendor.name = "Intel Corporation"
			device.product.id = "1d20"
			device.product.name = "C600/X79 series chipset High Definition Audio Controller"
			device.form_factor = "internal"
			device.string = "0"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-pci"
		Formats:
			pcm

	Source #2
		State: RUNNING
		Name: alsa_input.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444.multichannel
		Description: Fireface UFX (23646444) Multichannel
		Driver: module-alsa-card.c
		Sample Specification: s24le 12ch 44100Hz
		Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1,aux2,aux3
		Owner Module: 9
		Mute: no
		Volume: front-left: 51225 /  78% / -6.42 dB,   front-right: 51225 /  78% / -6.42 dB,   rear-left: 51225 /  78% / -6.42 dB,   rear-right: 51225 /  78% / -6.42 dB,   front-center: 51225 /  78% / -6.42 dB,   lfe: 51225 /  78% / -6.42 dB,   side-left: 51225 /  78% / -6.42 dB,   side-right: 51225 /  78% / -6.42 dB,   aux0: 51225 /  78% / -6.42 dB,   aux1: 51225 /  78% / -6.42 dB,   aux2: 51225 /  78% / -6.42 dB,   aux3: 51225 /  78% / -6.42 dB
				balance 0.00
		Base Volume: 65536 / 100% / 0.00 dB
		Monitor of Sink: n/a
		Latency: 835 usec, configured 99954 usec
		Flags: HARDWARE 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 = "Fireface UFX (23646444)"
			alsa.long_card_name = "RME Fireface UFX (23646444) at usb-0000:00:1d.0-1.7, high speed"
			alsa.driver_name = "snd_usb_audio"
			device.bus_path = "pci-0000:00:1d.0-usb-0:1.7:1.0"
			sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/sound/card2"
			udev.id = "usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444"
			device.bus = "usb"
			device.vendor.id = "0424"
			device.vendor.name = "Standard Microsystems Corp."
			device.product.id = "3fb8"
			device.product.name = "Fireface UFX (23646444)"
			device.serial = "RME_Fireface_UFX__23646444__***********DFC8"
			device.string = "hw:2"
			device.buffering.buffer_size = "158688"
			device.buffering.fragment_size = "39672"
			device.access_mode = "mmap"
			device.profile.name = "multichannel"
			device.profile.description = "Multichannel"
			device.description = "Fireface UFX (23646444) Multichannel"
			alsa.mixer_name = "USB Mixer"
			alsa.components = "USB0424:3fb8"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-usb"
		Formats:
			pcm

	Source #3
		State: RUNNING
		Name: jack_out.monitor
		Description: Monitor of Jack sink (PulseAudio JACK Sink)
		Driver: module-jack-sink.c
		Sample Specification: float32le 22ch 44100Hz
		Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12,aux13
		Owner Module: 10
		Mute: no
		Volume: front-left: 49137 /  75% / -7.50 dB,   front-right: 49137 /  75% / -7.50 dB,   rear-left: 49137 /  75% / -7.50 dB,   rear-right: 49137 /  75% / -7.50 dB,   front-center: 49137 /  75% / -7.50 dB,   lfe: 49137 /  75% / -7.50 dB,   side-left: 49137 /  75% / -7.50 dB,   side-right: 49137 /  75% / -7.50 dB,   aux0: 49137 /  75% / -7.50 dB,   aux1: 49137 /  75% / -7.50 dB,   aux2: 49137 /  75% / -7.50 dB,   aux3: 49137 /  75% / -7.50 dB,   aux4: 49137 /  75% / -7.50 dB,   aux5: 49137 /  75% / -7.50 dB,   aux6: 49137 /  75% / -7.50 dB,   aux7: 49137 /  75% / -7.50 dB,   aux8: 49137 /  75% / -7.50 dB,   aux9: 49137 /  75% / -7.50 dB,   aux10: 49137 /  75% / -7.50 dB,   aux11: 49137 /  75% / -7.50 dB,   aux12: 49137 /  75% / -7.50 dB,   aux13: 49137 /  75% / -7.50 dB
				balance 0.00
		Base Volume: 65536 / 100% / 0.00 dB
		Monitor of Sink: jack_out
		Latency: 0 usec, configured 23219 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.description = "Monitor of Jack sink (PulseAudio JACK Sink)"
			device.class = "monitor"
			device.icon_name = "audio-input-microphone"
		Formats:
			pcm

	Source #4
		State: RUNNING
		Name: jack_in
		Description: Jack source (PulseAudio JACK Source)
		Driver: module-jack-source.c
		Sample Specification: float32le 2ch 44100Hz
		Channel Map: front-left,front-right
		Owner Module: 11
		Mute: no
		Volume: front-left: 50074 /  76% / -7.01 dB,   front-right: 50074 /  76% / -7.01 dB
				balance 0.00
		Base Volume: 65536 / 100% / 0.00 dB
		Monitor of Sink: n/a
		Latency: 589 usec, configured 23219 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.api = "jack"
			device.description = "Jack source (PulseAudio JACK Source)"
			jack.client_name = "PulseAudio JACK Source"
			device.icon_name = "audio-input-microphone"
		Formats:
			pcm

	Source #5
		State: RUNNING
		Name: null.monitor
		Description: Monitor of Null Output
		Driver: module-null-sink.c
		Sample Specification: s16le 2ch 44100Hz
		Channel Map: front-left,front-right
		Owner Module: 12
		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: null
		Latency: 0 usec, configured 20000 usec
		Flags: DECIBEL_VOLUME LATENCY
		Properties:
			device.description = "Monitor of Null Output"
			device.class = "monitor"
			device.icon_name = "audio-input-microphone"
		Formats:
			pcm

	Source Output #6
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		Source: 0
		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: 65536 / 100% / 0.00 dB
				balance 0.00
		Buffer Latency: 14943 usec
		Source Latency: 0 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Source Output #7
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		Source: 1
		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: 65536 / 100% / 0.00 dB
				balance 0.00
		Buffer Latency: 14557 usec
		Source Latency: 0 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Source Output #8
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		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: 51225 /  78% / -6.42 dB
				balance 0.00
		Buffer Latency: 0 usec
		Source Latency: 382 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Source Output #9
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		Source: 3
		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: 49137 /  75% / -7.50 dB
				balance 0.00
		Buffer Latency: 0 usec
		Source Latency: 0 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Source Output #10
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		Source: 4
		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: 50074 /  76% / -7.01 dB
				balance 0.00
		Buffer Latency: 0 usec
		Source Latency: 1111 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Source Output #11
		Driver: protocol-native.c
		Owner Module: 17
		Client: 2
		Source: 5
		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: 65536 / 100% / 0.00 dB
				balance 0.00
		Buffer Latency: 0 usec
		Source Latency: 0 usec
		Resample method: peaks
		Properties:
			media.name = "Peak detect"
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"
			module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

	Client #0
		Driver: module-console-kit.c
		Owner Module: 22
		Properties:
			application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
			console-kit.session = "/org/freedesktop/ConsoleKit/Session1"

	Client #2
		Driver: protocol-native.c
		Owner Module: 17
		Properties:
			application.name = "PulseAudio Volume Control"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.id = "org.PulseAudio.pavucontrol"
			application.icon_name = "audio-card"
			application.version = "2.0"
			application.process.id = "5556"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pavucontrol"
			application.language = "C"
			window.x11.display = ":0"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"

	Client #248
		Driver: protocol-native.c
		Owner Module: 17
		Properties:
			application.name = "pactl"
			native-protocol.peer = "UNIX socket client"
			native-protocol.version = "30"
			application.process.id = "30756"
			application.process.user = "********"
			application.process.host = "ig1.da.uts.edu.au"
			application.process.binary = "pactl"
			application.language = "C"
			application.process.machine_id = "b681d92dec4b9db8cd0a4ff151fbf6ad"

	Card #0
		Name: alsa_card.pci-0000_05_00.1
		Driver: module-alsa-card.c
		Owner Module: 7
		Properties:
			alsa.card = "1"
			alsa.card_name = "HDA NVidia"
			alsa.long_card_name = "HDA NVidia at 0xfb080000 irq 55"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:05:00.1"
			sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:05:00.1/sound/card1"
			device.bus = "pci"
			device.vendor.id = "10de"
			device.vendor.name = "NVIDIA Corporation"
			device.product.id = "0e1a"
			device.product.name = "GK110 HDMI Audio"
			device.string = "1"
			device.description = "GK110 HDMI 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)
			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)
				Properties:
					device.icon_name = "video-display"
				Part of profile(s): output:hdmi-stereo

	Card #1
		Name: alsa_card.pci-0000_00_1b.0
		Driver: module-alsa-card.c
		Owner Module: 8
		Properties:
			alsa.card = "0"
			alsa.card_name = "HDA Intel PCH"
			alsa.long_card_name = "HDA Intel PCH at 0xfb120000 irq 58"
			alsa.driver_name = "snd_hda_intel"
			device.bus_path = "pci-0000:00:1b.0"
			sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
			device.bus = "pci"
			device.vendor.id = "8086"
			device.vendor.name = "Intel Corporation"
			device.product.id = "1d20"
			device.product.name = "C600/X79 series chipset High Definition 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: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-lineout: Line Out (priority: 9900, latency offset: 0 usec, not available)
				Part of profile(s): output:analog-stereo

	Card #2
		Name: alsa_card.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444
		Driver: module-alsa-card.c
		Owner Module: 9
		Properties:
			alsa.card = "2"
			alsa.card_name = "Fireface UFX (23646444)"
			alsa.long_card_name = "RME Fireface UFX (23646444) at usb-0000:00:1d.0-1.7, high speed"
			alsa.driver_name = "snd_usb_audio"
			device.bus_path = "pci-0000:00:1d.0-usb-0:1.7:1.0"
			sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/sound/card2"
			udev.id = "usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444"
			device.bus = "usb"
			device.vendor.id = "0424"
			device.vendor.name = "Standard Microsystems Corp."
			device.product.id = "3fb8"
			device.product.name = "Fireface UFX (23646444)"
			device.serial = "RME_Fireface_UFX__23646444__***********DFC8"
			device.string = "2"
			device.description = "Fireface UFX (23646444)"
			module-udev-detect.discovered = "1"
			device.icon_name = "audio-card-usb"
		Profiles:
			input:multichannel: Multichannel Input (sinks: 0, sources: 1, priority: 1, available: yes)
			off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		Active Profile: input:multichannel
	~ $



--------------------------

Command line switching audio
Mon Apr 20 15:42:14 AEST 2015

* Examples of command-line pa controls
  http://askubuntu.com/questions/4055/audio-output-device-fast-switch/18210#18210

--------------------------


pulseaudio dump
Mon Apr 20 15:47:02 AEST 2015

* here's what's going on:   (pacmd dump)

 $ pacmd
Welcome to PulseAudio 6.0! Use "help" for usage information.
>>> help
Available commands:
    help                      Show this help
    list-modules              List loaded modules
    list-cards                List cards
    list-sinks                List loaded sinks
    list-sources              List loaded sources
    list-clients              List loaded clients
    list-sink-inputs          List sink inputs
    list-source-outputs       List source outputs
    stat                      Show memory block statistics
    info                      Show comprehensive status
    load-module               Load a module (args: name, arguments)
    unload-module             Unload a module (args: index|name)
    describe-module           Describe a module (arg: name)
    set-sink-volume           Set the volume of a sink (args: index|name, volume)
    set-source-volume         Set the volume of a source (args: index|name, volume)
    set-sink-mute             Set the mute switch of a sink (args: index|name, bool)
    set-source-mute           Set the mute switch of a source (args: index|name, bool)
    set-sink-input-volume     Set the volume of a sink input (args: index, volume)
    set-source-output-volume  Set the volume of a source output (args: index, volume)
    set-sink-input-mute       Set the mute switch of a sink input (args: index, bool)
    set-source-output-mute    Set the mute switch of a source output (args: index, bool)
    set-default-sink          Set the default sink (args: index|name)
    set-default-source        Set the default source (args: index|name)
    set-card-profile          Change the profile of a card (args: index|name, profile-name)
    set-sink-port             Change the port of a sink (args: index|name, port-name)
    set-source-port           Change the port of a source (args: index|name, port-name)
    set-port-latency-offset   Change the latency of a port (args: card-index|card-name, port-name, latency-offset)
    suspend-sink              Suspend sink (args: index|name, bool)
    suspend-source            Suspend source (args: index|name, bool)
    suspend                   Suspend all sinks and all sources (args: bool)
    move-sink-input           Move sink input to another sink (args: index, sink)
    move-source-output        Move source output to another source (args: index, source)
    update-sink-proplist      Update the properties of a sink (args: index|name, properties)
    update-source-proplist    Update the properties of a source (args: index|name, properties)
    update-sink-input-proplist Update the properties of a sink input (args: index, properties)
    update-source-output-proplist Update the properties of a source output (args: index, properties)
    list-samples              List all entries in the sample cache
    play-sample               Play a sample from the sample cache (args: name, sink|index)
    remove-sample             Remove a sample from the sample cache (args: name)
    load-sample               Load a sound file into the sample cache (args: name, filename)
    load-sample-lazy          Lazily load a sound file into the sample cache (args: name, filename)
    load-sample-dir-lazy      Lazily load all files in a directory into the sample cache (args: pathname)
    kill-client               Kill a client (args: index)
    kill-sink-input           Kill a sink input (args: index)
    kill-source-output        Kill a source output (args: index)
    set-log-target            Change the log target (args: null|auto|syslog|stderr|file:PATH|newfile:PATH)
    set-log-level             Change the log level (args: numeric level)
    set-log-meta              Show source code location in log messages (args: bool)
    set-log-time              Show timestamps in log messages (args: bool)
    set-log-backtrace         Show backtrace in log messages (args: frames)
    play-file                 Play a sound file (args: filename, sink|index)
    dump                      Dump daemon configuration
    dump-volumes              Debug: Show the state of all volumes
    shared                    Debug: Show shared properties
    exit                      Terminate the daemon
>>>
>>> dump
### Configuration dump generated at Mon Apr 20 15:46:40 2015

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-default-device-restore
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="1" name="pci-0000_05_00.1" card_name="alsa_card.pci-0000_05_00.1" 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"
load-module module-alsa-card device_id="0" 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"
load-module module-alsa-card device_id="2" name="usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444" card_name="alsa_card.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444" 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"
load-module module-jack-sink channels=22
load-module module-jack-source
load-module module-null-sink
load-module module-jackdbus-detect channels=22
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-native-protocol-unix
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_05_00.1.hdmi-stereo 0x10000
set-sink-mute alsa_output.pci-0000_05_00.1.hdmi-stereo no
suspend-sink alsa_output.pci-0000_05_00.1.hdmi-stereo no
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 0x23e2
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
set-sink-volume jack_out 0x10000
set-sink-mute jack_out yes
suspend-sink jack_out no
set-sink-volume null 0x10000
set-sink-mute null no
suspend-sink null no

set-source-volume alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_05_00.1.hdmi-stereo.monitor no
set-source-volume alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
set-source-volume alsa_input.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444.multichannel 0xc819
set-source-mute alsa_input.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444.multichannel no
suspend-source alsa_input.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444.multichannel no
set-source-volume jack_out.monitor 0xbff1
set-source-mute jack_out.monitor no
suspend-source jack_out.monitor no
set-source-volume jack_in 0xc39a
set-source-mute jack_in no
suspend-source jack_in no
set-source-volume null.monitor 0x10000
set-source-mute null.monitor no
suspend-source null.monitor no

set-card-profile alsa_card.pci-0000_05_00.1 output:hdmi-stereo
set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo
set-card-profile alsa_card.usb-RME_Fireface_UFX__23646444__***********DFC8-00-UFX23646444 input:multichannel

set-default-sink jack_out
set-default-source jack_in

### EOF
>>>


--------------------------



More information about the Ardour-Dev mailing list