[pulseaudio-discuss] RME Babyface Pro: How do I get pulseaudio to see output 3/4?

Allan Wind allan at yaxto.com
Mon Oct 24 14:09:22 UTC 2016


I frequently switch between monitors (output 1/2) and headphones (output 3/4),
and doing so on hardware is a 2 or 3 step process, so I was hoping there is a
way to get pulseaudio to see output 3/4.

Here is what the relevant sink from pactl:

Sink #29
        State: RUNNING
        Name: alsa_output.usb-RME_Babyface_Pro__70793162__926E13156329DC8-00.analog-stereo
        Description: Babyface Pro (70793162) Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s24le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 48
        Mute: no
        Volume: front-left: 65807 / 100% / 0.11 dB,   front-right: 65807 / 100% / 0.11 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.usb-RME_Babyface_Pro__70793162__926E13156329DC8-00.analog-stereo.monitor
        Latency: 9333 usec, configured 8000 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 = "1"
                alsa.card_name = "Babyface Pro (70793162)"
                alsa.long_card_name = "RME Babyface Pro (70793162) at usb-0000:00:14.0-6, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:6:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/sound/card1"
                udev.id = "usb-RME_Babyface_Pro__70793162__926E13156329DC8-00"
                device.bus = "usb"
                device.vendor.id = "2a39"
                device.vendor.name = "RME"
                device.product.id = "3fb0"
                device.product.name = "Babyface Pro (70793162)"
                device.serial = "RME_Babyface_Pro__70793162__926E13156329DC8"
                device.string = "front:1"
                device.buffering.buffer_size = "529200"
                device.buffering.fragment_size = "264600"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Babyface Pro (70793162) Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB2a39:3fb0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        Ports:
                analog-output: Analog Output (priority: 9900)
        Active Port: analog-output
        Formats:
                pcm

I was able to see all 12 inputs in ardour.  `aplay -L` looks... well, not quite
right, this is multi-channel and not a surround card:

sysdefault:CARD=Pro70793162
    Babyface Pro (70793162), USB Audio
    Default Audio Device
front:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    Front speakers
surround21:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    Direct sample mixing device
dsnoop:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    Direct sample snooping device
hw:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    Direct hardware device without any conversions
plughw:CARD=Pro70793162,DEV=0
    Babyface Pro (70793162), USB Audio
    Hardware device with all software conversions

The authoritative nfo appears to be `cat /proc/asound/card1/stream0`:

 RME Babyface Pro (70793162) at usb-0000:00:14.0-6, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 42
    Momentary freq = 44118 Hz (0x5.83c9)
    Feedback Format = 16.16
  Interface 1
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 3 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 12
    Endpoint: 3 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S24_3LE
    Channels: 12
    Endpoint: 4 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us
  Interface 2
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 4 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us



/Allan
-- 
Allan Wind
Yaxto - Runs My Business
<https://yaxto.com>


More information about the pulseaudio-discuss mailing list