tvOS multichannel audio

iOS, iPad, iPhone, tvOS specific usage questions
adammfisch
New Cone
New Cone
Posts: 3
Joined: 09 Nov 2015 18:23

tvOS multichannel audio

Postby adammfisch » 09 Nov 2015 18:28

I have been able to use AVFoundation to enable my AVAudioSession to use the max number of outputs available of 8 (7.1 audio).
It will then show on my receiver the PCM 3/4/.1 output, but is still not getting any sound on the rear speakers since VLC is outputting 2.0 audio.

Reading around the forums I think VLCKit is downsampling all audio to 2.0.
Is there a way to output the encoded multichannel audio to the apple tv 4?

Thanks!

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

Re: tvOS multichannel audio

Postby fkuehne » 10 Nov 2015 10:44

No, the code is simply not there. This is not difficult to implement. Help welcome.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

adammfisch
New Cone
New Cone
Posts: 3
Joined: 09 Nov 2015 18:23

Re: tvOS multichannel audio

Postby adammfisch » 10 Nov 2015 15:53

I have been trying to code it in myself. Any direction on what needs to be modified would be appreciated.
I tried setting the audio output to "afile" which said it should give the files audio, but it then resulted in no audio at all. I will try some more things but am not sure if it is just on the player instance that settings need to be changed or if it is somewhere deeper in the actual vlc code.

I found in the audiounit_ios where it was setting the audio format to a specific stereo constant which I removed to allow it to be based off the original channels. Hopefully this fixes it.


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

Who is online

Users browsing this forum: No registered users and 5 guests