-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arturia Minifuse 2 (and probably any other using SplitPCM macro) - lost sample rate range on each in/out (and forced to 48000) #333
Comments
The dshare/dsnoop alsa-lib plugins are used when the UCM client code does not support the splitting itself (and pipewire does not have this code as far as I know). The split is using exclusive resource (hardware PCM stream) and create more separated PCM streams on top. This means if any of this stream is opened, it "fixes" the parameters to the first opened splitted PCM stream. So if client needs to change the rate / format parameters, all related streams must be closed. So, it's design issue and pipewire does not behave good in this case. You may highlight this problem to pipewire developers. The format may be set to fixed value in the UCM file - just add
If you test this, I can apply this change to the UCM repo. EDIT: For rate, ask pipewire developers how the 48000Hz problem can be resolved. UCM does not limit the rate range (for the first opened PCM stream). |
Format has very similar problem. Once you set it, the other option is no longer available. |
Improve quality with forcing the S32_LE format. Apparently, current pipewire does not handle correctly the conflicting PCM streams - not all splitted streams are closed before rate / format change. Link: #333 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Improve quality with forcing the S32_LE format. Apparently, current pipewire does not handle correctly the conflicting PCM streams - not all splitted streams are closed before rate / format change. Link: alsa-project#333 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
No further work for UCM for this case. |
Hi,
I have Arturia MiniFuse 2 card allowing playback/capture sample rate in range 44100 - 192000. But using channel name (e.g.
Mic/Line/Inst 1 (L)
,Main Output L/R
) created by UCM, it offers 48000 only (and in case of playback, it offers S15_LE only).Looks like something is lost when
SplitPCM
macro is used or so (I have absolutely no idea what's going on here).Is there any possibility to make it work as it should?
=================================
/proc/asound/card4/stream0
output:alsaucm -c hw:4 dump text
output:Pipewire debug log "spa.alsa:D" excerpts (I have no idea how to get this elsewhere, but it matches to offered reality):
Without matching UCM profile the in/outs offers the full range (but everything is mapped as "surround" 4-channel):
The text was updated successfully, but these errors were encountered: