Pacat weird behaviour

Hi,

I am running 22.03.5 and I believe there is something wrong with pulseaudio:

This works:

pacat test.wav

However this does not (even though I think it should be essentially the same thing):

cat test.wav | pacat

The error I get is

Failed to set media name.

But even the attempt to set a media name like this

cat test.wav | pacat  --property=media.name=hubba

fails with

Invalid property 'media.name=hubba'

So below the line I am unable to pipe data into pulseaudio.

My question: Am I doing it wrong or is is a pulseaudio issue?

Many thanks!

cat test.wav | pacat -

?

Nope. That one gives:

open(): No such file or directory 

But test.wav is there - I think it takes the "-" as a file name.