Skip to content

A simple Bash tool to ** fix SPDIF sound delay & standby issues on Linux. Supports - PulseAudio,PipeWire,ALSA

License

Notifications You must be signed in to change notification settings

dennishilk/spdif-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPDIF Fix Tool 🎵

A simple interactive Bash tool to fix SPDIF sound delay & standby issues on Linux.
Supports PulseAudio, PipeWire, and ALSA.


✨ Features

  • Keeps SPDIF output active → no more sound delay

  • Prevents SPDIF from going into standby

  • Works with:

    • PulseAudio (removes module-suspend-on-idle)
    • PipeWire (disables suspend in pipewire.conf)
    • ALSA (creates .asoundrc for SPDIF keepalive)
  • Interactive menu with progress indicators

  • Automatically restarts PulseAudio / PipeWire

  • Backup & restore of original configuration

  • if spdif-fix didnt work for you, you can add the file "soundfixforautostart" to an folder make it executeable " chmod +x and at it to autostart. you need to install sox for your system for example " sudo apt install sox " or " sudo pacman -S sox " What it does: It generates and plays a sine wave tone (default ~440 Hz) in stereo, but with the gain reduced so much that it’s effectively silent.

  • Buy Me A Coffee


🚀 Installation

git clone https://github.com/dennishilk/SPDIF-Fix-Tool.git
cd spdif-fix
chmod +x spdif-fix.sh
./spdif-fix.sh

1 - fix
2 - undo
3 - close


No Warranty Disclaimer

The software in this repository is provided "as is", without warranty of any kind.
I make no guarantees regarding the functionality, correctness, or suitability of this code for any purpose.
Use it at your own risk. I am not responsible for any damages, data loss, or issues that may arise from using this software.

About

A simple Bash tool to ** fix SPDIF sound delay & standby issues on Linux. Supports - PulseAudio,PipeWire,ALSA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published