Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-24 Thread Tanu Kaskinen
On Sat, 2017-07-22 at 21:02 +0200, Denis Shulyaka wrote: > 2017-07-20 17:06 GMT+02:00 Tanu Kaskinen : > > > No, I don't think there's currently any code to read the status bits > > from the alsa mixer. > > > > But in general, if one wants to passthrow unmodified uncompressed PCM data > from S/PD

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-22 Thread Denis Shulyaka
2017-07-20 17:06 GMT+02:00 Tanu Kaskinen : > No, I don't think there's currently any code to read the status bits > from the alsa mixer. > But in general, if one wants to passthrow unmodified uncompressed PCM data from S/PDIF-in to HDMI, shouldn't he know the source sample rate to correctly open

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-20 Thread Tanu Kaskinen
On Wed, 2017-07-19 at 17:29 +0200, Denis Shulyaka wrote: > 2017-07-12 22:58 GMT+02:00 Tanu Kaskinen : > > > I don't know how the endpoints are supposed to agree on the format, and > > what kind of interface alsa provides for that (if any). The alsa-devel > > list might be more appropriate for ques

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-19 Thread Denis Shulyaka
2017-07-12 22:58 GMT+02:00 Tanu Kaskinen : > I don't know how the endpoints are supposed to agree on the format, and > what kind of interface alsa provides for that (if any). The alsa-devel > list might be more appropriate for questions about spdif details. > I've raised this question to alsa-use

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-12 Thread Denis Shulyaka
12 июля 2017 г. 23:58 пользователь "Tanu Kaskinen" написал: I don't know how the endpoints are supposed to agree on the format, and what kind of interface alsa provides for that (if any). The alsa-devel list might be more appropriate for questions about spdif details. Ok, I will ask there. I've

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-12 Thread Tanu Kaskinen
On Wed, 2017-07-12 at 22:29 +0300, Denis Shulyaka wrote: > Well, that was more or less expected. Is such support planned? I haven't heard of anyone planning to implement the feature. > It means I need to write my own decoding application. But that leads me to > another question: > When I open the

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-12 Thread Denis Shulyaka
12 июля 2017 г. 7:42 PM пользователь "Tanu Kaskinen" написал: 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 analog > output and S/PDIF optical input, besides others. The server has to mix all > inputs a

Re: [pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-12 Thread Tanu Kaskinen
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 analog > 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

[pulseaudio-discuss] Decode SPDIF compressed formats

2017-07-11 Thread Denis Shulyaka
Hi list, I am making a small project, a home sound server. It will have a 5.1 analog 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 re