flathub / net.purrdata.PurrData

https://flathub.org/apps/details/net.purrdata.PurrData
0 stars 0 forks source link

Audio sometimes blocks using padsp + OSS #10

Closed ssssam closed 4 years ago

ssssam commented 4 years ago

On my Fedora 30 system, sometimes the audio output works perfectly, and other times it is very laggy with long pauses between each block.

Running padsp -d to show verbose logs doesn't give any clue what's wrong.

Running env AUDIODRIVER=oss padsp -d play (to play a .wav using SoX through the same backend) doesn't show the same issue. Other Pulseaudio streams also run fine.

Sometimes the issue disappears. I tried to use the 'callgrind' profiling tool to see if a CPU usage profile would help me find the problem, and this unexpectedly made the issue disappear.