Problem with pulseaudio/pipewire

If I try to play an audio file with mpv i get these messages repeated many times:

[ao/pipewire] Stream in error state, trying to reload…
[ao/pipewire] Error during playback: No such file or directory, no node available

The audio files starts a few seconds later.
If I try pw-play I get this error message:

stream node 54 error: no node available
remote error: id=2 seq:7 res:-2 (No such file or directory): no node available

Playing video files with mpv the first frame gets loaded, but the video doesn’t start. If I press the video starts, but the video is silent some time before the sound starts.
If I start pavucontrol and set the current profile to OFF mpv works as expected, but then Amarok turns silent.

Problem is solved. I installed pipewire-pulseaudio, which removed pulseaudio and now sound problems are gone.