Linux: Difference between revisions

3,155 bytes added ,  23 October 2018
Line 198: Line 198:


I found that the numeric identifier for these cards and change on reboot.  That may be related to how the hardware detection works on Linux, and the order changes time to time.  So I've used the string identifier instead -- seems to stick better than a numeric value.
I found that the numeric identifier for these cards and change on reboot.  That may be related to how the hardware detection works on Linux, and the order changes time to time.  So I've used the string identifier instead -- seems to stick better than a numeric value.
== PulseAudio ==
Restart pulseaudio. Do not sudo for this.
<source lang="console">
$ pulseaudio -k && pulseaudio -D
</source>
List sinks.
<source lang="console">
$ pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.usb-Dell_Dell_AC511_USB_SoundBar-00-SoundBar.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9049
        volume: front-left: 26202 /  40% / -23.89 dB,  front-right: 26202 /  40% / -23.89 dB
                balance 0.00
        base volume: 107931 / 165% / 13.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                    Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 1 <alsa_card.usb-Dell_Dell_AC511_USB_SoundBar-00-SoundBar>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                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 = "0"
                alsa.card_name = "Dell AC511 USB SoundBar"
                alsa.long_card_name = "Dell Dell AC511 USB SoundBar at usb-0000:00:14.0-4, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/sound/card0"
                udev.id = "usb-Dell_Dell_AC511_USB_SoundBar-00-SoundBar"
                device.bus = "usb"
                device.vendor.id = "413c"
                device.vendor.name = "Dell Computer Corp."
                device.product.id = "a503"
                device.product.name = "Dell AC511 USB SoundBar"
                device.serial = "Dell_Dell_AC511_USB_SoundBar"
                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 = "Dell AC511 USB SoundBar Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB413c:a503"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:
        active port: <analog-output>
</source>


= Miscellaneous =
= Miscellaneous =