View previous topic :: View next topic |
Author |
Message |
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Fri Aug 09, 2024 4:13 pm Post subject: pulseaudio plays old buffer when starting playback |
|
|
The issue is I believe pulseaudio is playing/not clearing out the old audio buffer. To recreate this:
1. play music.
2. stop music. wait a little bit so there is some silence.
3. play a different song.
4. at the very start there will be a split second of what I was last listening to before the next song starts.
I've read into this but I cannot find my exact issue. My configs (/etc/pulse/daemon.conf) have no changes. This has been going on for a while and I figured it was a bug that would get squashed, but unfortunately not. Any suggestions of what to try would be appreciated. |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 421
|
Posted: Fri Aug 09, 2024 5:11 pm Post subject: |
|
|
Well I am all for choice, however if you look at:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio
You will see there is not much development on Pulseaudio.
In one of the most recent PA mailing list threads a user was encouraged to just switch to Pipewire as that is the new multimedia framework.
https://lists.freedesktop.org/archives/pulseaudio-discuss/2024-July/032473.html
This is probably not what you would prefer to hear, but I would suggest trying to make the switch to Pipewire
rather than spending time and resources tracking down this obscure issue. Hopefully the transition is seamless and without issue. |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Fri Aug 09, 2024 5:40 pm Post subject: |
|
|
I may have misspoke, just checked and I have both pulseaudio and pipewire installed. I'm betting things use pipewire so it's probably an issue with that.
I guess that leads to another question. Can I uninstall pulseaudio or is that something that will need to hang around like alsa? |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3421
|
Posted: Fri Aug 09, 2024 6:04 pm Post subject: |
|
|
Pipewire is a complete replacement for both, pulseaudio and jack, and it understands protocols used by pulseaudio, jack, and alsa, AND I think it even has its own.
PW does not require PA, as long as your apps don't depend on it either, you can uninstall it. You may need to flip some use flags though.
Alsa on the other hand provides access to hardware, so this part is necessary, whether you use sound routing daemon or not _________________ Make Computing Fun Again |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 421
|
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Fri Aug 09, 2024 7:54 pm Post subject: |
|
|
I have to recompile half my box after changing to -pulseaudio. Be back in a bit. |
|
Back to top |
|
|
Saundersx Apprentice
Joined: 11 Apr 2005 Posts: 294
|
Posted: Sun Aug 11, 2024 4:34 am Post subject: |
|
|
After much compiling and blowing away every single thing pulse related it fixed all my issues. Another issue I didn't mention was vlc was quite flakey, removing pulse fixed all that. |
|
Back to top |
|
|
|