Skip to content
Commit e6135fe9 authored by Torstein Hegge's avatar Torstein Hegge Committed by Takashi Iwai
Browse files

ALSA: usb-audio: proc: use found syncmaxsize to determine feedback format



freqshift is only set for the data endpoint and syncmaxsize is only set
for the sync endpoint. This results in a syncmaxsize of zero used in the
proc output feedback format calculation, which gives a feedback format
incorrectly shown as 8.16 for UAC2 devices.

As neither the data nor the sync endpoint gives all the relevant
content, output the two combined.

Also remove the sync_endpoint "packet size" which is always zero
and the sync_endpoint "momentary freq" which is constant.

Tested with UAC2 async and UAC1 adaptive, not tested with UAC1 async.

Reported-by: default avatarB. Zhang <bb.zhang@free.fr>
Signed-off-by: default avatarTorstein Hegge <hegge@resisty.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 436c4a0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment