Bug 215123 - Behringer UMC404HD usb device samplerate issues
Summary: Behringer UMC404HD usb device samplerate issues
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 15:21 UTC by Wim Taymans
Modified: 2021-12-01 09:24 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.14
Subsystem:
Regression: No
Bisected commit-id:


Attachments
output of alsa-info.sh (326.85 KB, text/plain)
2021-11-23 15:21 UTC, Wim Taymans
Details

Description Wim Taymans 2021-11-23 15:21:45 UTC
Created attachment 299687 [details]
output of alsa-info.sh

The Behringer UMC404HD usb card requires the samplerate of all PCM to be the same and should restrict the configuration space for user-space accordingly.

1) open a playback PCM at 48KHz
2) open a capture PCM at 44.1KHz
3) pitch of playback PCM changes

The available sample rates reported to userspace when opening the capture PCM in this scenario, should be limited to 48KHz.
Comment 1 Takashi Iwai 2021-11-23 17:20:08 UTC
Could you try 5.16-rc1?
Comment 2 Wim Taymans 2021-11-24 16:10:09 UTC
I tried with 5.16-rc2 on fedora and can no longer reproduce this problem. It looks like when a playback stream is opened at 48KHz it is no longer possible to open a capture stream at a different samplerate.
Comment 3 Wim Taymans 2021-11-24 16:45:35 UTC
Good stuff, 5.16-rc1 also gives me steady 3.4ms roundtrip latency with a 16 sample buffer size on PipeWire (down from 4.7ms). It's now on par with JACK. awesome work.
Comment 4 Takashi Iwai 2021-12-01 09:24:06 UTC
FWIW, I asked Greg to cherry-pick all relevant fixes from 5.16 to 5.15.x stable tree.  It'll be available in near future in 5.15.x stable release.

Note You need to log in before you can comment on or make changes to this bug.