Multichannel PCM output?

iOS, iPad, iPhone, tvOS specific usage questions
keylimesoda
New Cone
New Cone
Posts: 3
Joined: 05 Sep 2015 01:13

Multichannel PCM output?

Postby keylimesoda » 05 Sep 2015 01:39

When VLC plays back a multichannel PCM file, does it attempt to send multichannel output to iOS, or does it downmix to stereo internally before handing off the to the audiocore APIs?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Multichannel PCM output?

Postby fkuehne » 07 Sep 2015 11:47

Right now, we down-mix everything to a 2.0 layout, which is output as PCM (Float 32) to the AudioUnit APIs. For a future release, we will support SPDIF passthrough as the APIs we need for that were made available for iOS 8. We just didn't come around to port the respective Mac code yet.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

keylimesoda
New Cone
New Cone
Posts: 3
Joined: 05 Sep 2015 01:13

Postby keylimesoda » 08 Sep 2015 19:19

But even SPDIF is still only 2.0 for PCM, right? As I understand it, SPDIF is only multichannel for compressed formats such as AC3 and DTS.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Multichannel PCM output?

Postby fkuehne » 08 Sep 2015 19:26

Yes, that's correct. SPDIF is a simple passthrough for AC3 and DTS.

Are you aware of an iOS compatible multi-channel output device which we can use to develop PCM multi-channel support?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

keylimesoda
New Cone
New Cone
Posts: 3
Joined: 05 Sep 2015 01:13

Re: Multichannel PCM output?

Postby keylimesoda » 08 Sep 2015 20:49

Assuming that iOS has true USB Audio Class 2.0 support, you could potentially use something like this: https://sewelldirect.com/Soundbox-Pro-USB-Sound-Card

I've got one on order to test out right now, hence my questions.

There's more than a handful of devices that support multichannel input on iOS, using the camera connector kit. But I can't seem to find similar info for multichannel output.

http://en.ntrack.com/pro-audio-on-ipad.php

EDIT: RME also claim that their device supports iOS: http://www.rme-audio.de/en/products/fireface_ucx.php
"Playback will use analog outputs 1 and 2, or even more channels if the app supports such operation. The UCX can optionally copy the iPad playback channels 1/2 to outputs 7/8 and SPDIF/ADAT, for easier monitoring. All outputs can be processed independently (volume, EQ, dynamics, FX return)."

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Multichannel PCM output?

Postby fkuehne » 09 Sep 2015 11:30

Nice, thanks a lot! We got the USB plug already so only the audio device itself is missing :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 32 guests