01-09-2022, 11:11 AM
(This post was last modified: 01-09-2022, 11:29 AM by Akshunhiro.)
Trust me, I know, I've been searching like a madman for a solution.
Went through this thread but found that the HiFiBerry DAC+ doesn't appear in the playback device list at all when opening the Sound & Video > PulseAudio Volume Control GUI but it does appear in Preferences > Audio Device Settings.
I've copied the settings Chrisfromwa has but the USB DAC is still taking over. Have tried all sorts of config edits to try get it working including the set-default-sink command and manually editing /etc/pulse/default.pa
This is the output of my sinks, I've been trying to set it to 1...
Went through this thread but found that the HiFiBerry DAC+ doesn't appear in the playback device list at all when opening the Sound & Video > PulseAudio Volume Control GUI but it does appear in Preferences > Audio Device Settings.
I've copied the settings Chrisfromwa has but the USB DAC is still taking over. Have tried all sorts of config edits to try get it working including the set-default-sink command and manually editing /etc/pulse/default.pa
This is the output of my sinks, I've been trying to set it to 1...
4 sink(s) available.
* index: 0
name: <alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9049
volume: front-left: 65536 / 100%, front-right: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 38
muted: no
current latency: 20.58 ms
max request: 2 KiB
max rewind: 2 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 14.62 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00>
module: 6
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 = "1"
alsa.card_name = "USB Audio Device"
alsa.long_card_name = "C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.3, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0"
sysfs.path = "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/sound/card1"
udev.id = "usb-C-Media_Electronics_Inc._USB_Audio_Device-00"
device.bus = "usb"
device.vendor.id = "0d8c"
device.vendor.name = "C-Media Electronics, Inc."
device.product.id = "0014"
device.product.name = "Audio Adapter (Unitek Y-247A)"
device.serial = "C-Media_Electronics_Inc._USB_Audio_Device"
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 = "Audio Adapter (Unitek Y-247A) Analog Stereo"
alsa.mixer_name = "USB Mixer"
alsa.components = "USB0d8c:0014"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
active port: <analog-output-speaker>
index: 1
name: <alsa_output.platform-soc_sound.stereo-fallback>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 9000
volume: front-left: 65520 / 100% / -0.01 dB, front-right: 65520 / 100% / -0.01 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 1999.49 ms
max request: 344 KiB
max rewind: 344 KiB
monitor source: 2
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.platform-soc_sound>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HiFiBerry DAC+ HiFi pcm512x-hifi-0"
alsa.id = "HiFiBerry DAC+ HiFi pcm512x-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "snd_rpi_hifiberry_dacplus"
alsa.long_card_name = "snd_rpi_hifiberry_dacplus"
alsa.driver_name = "snd_soc_hifiberry_dacplus"
device.bus_path = "platform-soc:sound"
sysfs.path = "/devices/platform/soc/soc:sound/sound/card0"
device.form_factor = "internal"
device.string = "hw:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "stereo-fallback"
device.profile.description = "Stereo"
device.description = "Built-in Audio Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>
index: 2
name: <equalizer_sink>
driver: <module-ladspa-sink.c>
flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 1000
volume: front-left: 65536 / 100%, front-right: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 65537
muted: no
current latency: 18.34 ms
max request: 5 KiB
max rewind: 5 KiB
monitor source: 3
sample spec: float32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 4
linked by: 5
configured latency: 14.62 ms; range is 0.50 .. 2000.00 ms
module: 9
properties:
device.master_device = "alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo"
device.class = "filter"
device.ladspa.module = "mbeq_1197"
device.ladspa.label = "mbeq"
device.ladspa.name = "Multiband EQ"
device.ladspa.maker = "Steve Harris <steve@plugin.org.uk>"
device.ladspa.copyright = "GPL"
device.ladspa.unique_id = "1197"
device.description = "LADSPA Plugin Multiband EQ on Audio Adapter (Unitek Y-247A) Analog Stereo"
device.icon_name = "audio-card"
index: 3
name: <equalizer_sink.echo-cancel>
driver: <module-echo-cancel.c>
flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 1000
volume: front-left: 65536 / 100%, front-right: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 65537
muted: no
current latency: 17.82 ms
max request: 5 KiB
max rewind: 5 KiB
monitor source: 5
sample spec: float32le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
module: 20
properties:
device.master_device = "equalizer_sink"
device.class = "filter"
device.intended_roles = "phone"
device.description = "LADSPA Plugin Multiband EQ on Audio Adapter (Unitek Y-247A) Analog Stereo (echo cancelled with Audio Adapter (Unitek Y-247A) Analog Mono)"
device.icon_name = "audio-card"