Greg Erskine wrote:
>
> I am not 100% sure about this. I "think" Squeezelite and LMS are two
> channel only.
Yes, squeezelite is 2 channel only.
Greg Erskine wrote:
>
> But I think ALSA can take this two channel source and output/mix it to
> as many channels as your hardware supports.
>
Well, from a HDMI point of view, which I think was what the original
question was about..... That's the whole point of the dedicated HDMI
subdevice, for multi-channel pass-through.
Code:
--------------------
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
--------------------
You can output multichannel directly to this dedicated device, rather
than device 0, and the code.....
Code:
--------------------
/* notify the vchiq that it should enter spdif passthrough mode by
* setting channels=0 (see
* https://github.com/raspberrypi/linux/issues/528) */
if (chip->spdif_status & IEC958_AES0_NONAUDIO)
channels = 0;
else
channels = alsa_stream->channels;
--------------------
IEC958_AES0_NONAUDIO flag has already been set for the SPDIF device,
which then causes number of channels to be set to zero, which
"allegedly" should make the VideoCore back-end pass multi-channel data
through the hdmi port unmodified. I haven't actually used this myself,
so I'm just interpreting what is meant to be happening from the code,
rather than from first hand experience.
------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix