It's great that people are using Xournal++, and care enough about it to be bothered by this!
These are coming from libsndfile1. Many Linux GUI programs do output a constant stream of harmless warnings, and Xournal++ is hardly the worst offender. The "right" fix is presumably to tell libsndfile1 (the calls are sf_xxx()) to try other sound systems first, like pipewire or pulse, before going to devices. Or maybe there's a way to tell it to be less verbose. Perhaps libsndfile1 has build options that would avoid this by trying things in a different order, or tell it to be less verbose. Anyway, patches welcome, at least to Xournal++. If it really bugs you, as a workaround I'd suggest redirecting standard error to a log file, maybe via a pipe that removes the annoying ALSA stuff. Cheers, --Barak Pearlmutter