summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTorstein Hegge <hegge@resisty.net>2013-05-16 20:26:17 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-17 08:05:34 +0200
commite6135fe960bba1d1a3a6b6818839e6d8d3f21293 (patch)
tree332122e4ca8fb42f59db1cd44c869d920578649d /sound/usb/usbaudio.h
parent436c4a0cfbc4c7a95c4ea37dbd9f697d5dfd553f (diff)
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: B. Zhang <bb.zhang@free.fr> Signed-off-by: Torstein Hegge <hegge@resisty.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
0 files changed, 0 insertions, 0 deletions