Bug 92071

Summary: USB audio latency is (unnecessarily) high
Product: PulseAudio Reporter: Arun Raghavan <arun>
Component: alsaAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart, nirbheek.chauhan
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 91504    

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.