Bug 92071 - USB audio latency is (unnecessarily) high
Summary: USB audio latency is (unnecessarily) high
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: alsa (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 91504
  Show dependency treegraph
 
Reported: 2015-09-22 09:10 UTC by Arun Raghavan
Modified: 2015-12-29 06:06 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Arun Raghavan 2015-09-22 09:10:53 UTC
Since we started respecting the BATCH flag, USB audio device latency has been fixed at 100ms in our default config.

The BATCH flag is probably not what we want here, so we need to have finer grained reporting from ALSA, which we can use to configure rewind safeguards for tsched mode (instead of always disabling it).

Faililng this, I'd like to at least have workaround for USB until this is fixed preoprly.
Comment 1 Arun Raghavan 2015-12-29 06:06:50 UTC
Pushed a workaround for this where we ignore the BATCH flag on USB devices. Closing for now, though the long term solution is to have the batch size reported by the ALSA driver and API so we can adapt appropriately rather than blindly disable timer-based scheduling.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.