[pulseaudio-discuss] Decode SPDIF compressed formats
shulyaka at gmail.com
Wed Jul 12 19:29:44 UTC 2017
12 июля 2017 г. 7:42 PM пользователь "Tanu Kaskinen" <tanuk at iki.fi> написал:
On Tue, 2017-07-11 at 23:21 +0300, Denis Shulyaka wrote:
> Hi list,
> I am making a small project, a home sound server. It will have a 5.1
> output and S/PDIF optical input, besides others. The server has to mix all
> inputs and send them to the output.
> My initial proof-of-concept with a loopback module failed when I realized
> that S/PDIF interface can receive compressed formats that sounded like a
> loud white noice to me instead of music.
> Can pulseaudio handle compressed audio streams apart from passthrough? You
> cannot passthrough to an analog output without decode.
> I've found some different info here:
> And here:
> But could not understand its current status.
No, pulseaudio can't decode compressed formats
Well, that was more or less expected. Is such support planned?
It means I need to write my own decoding application. But that leads me to
When I open the stream, how do I know its format? And how can I detect when
I've came up with an idea to try different codecs and sample rates until I
get something without decoder errors and not looking like a white noise,
but well... you know... there must be a less ugly solution for that! (And I
will have a really hard time detecting the format if my source _is_ a white
noise for some reason).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss