The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 5,033β€…    Votes:  10β€…
Tags: sound   multimedia   displayport  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1089961
Title: Audio starts playing 3-5 seconds after video does
ID: /2018/11/04/Audio-starts-playing-3-5-seconds-after-video-does
Created: November 4, 2018    Edited:  June 12, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Perfect solution for specific problem, but not all applications

This solution works when pausing and resuming from the same sound source such as a movie:

Edit Pulse Audio configuration file: sudo -H gedit /etc/pulse/default.pa

Locate this section and place # in front of second line:

### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle

Save the file and exit.

Reload Pulse Audio using pulseaudio -k.

Where it doesn’t work.

Whilst watching a movie I can have laundry timer running in the background. When a alert sounds to signal end of Wash Cycle, Rinse Cycle or Dryer no sound is heard. The alert sound was < 5 seconds. The workaround is to pick a different sound file > 5 seconds long.

⇧ Firefox freezing with 100% CPU usage for 30 seconds when launching Chromium Wakes from suspend immediately when bluetooth device disconnected  β‡©