[vlc-devel] [PATCH 15/16] pulse: handle AUDIO_CHANNELS_TYPE_AMBISONICS

Thomas Guillem thomas at gllm.fr
Tue Jul 11 15:49:13 CEST 2017


> > > 
> > > Why do you impose the channel order here?!
> > 
> > I use the current channel layout of the pulse stream. The ambisonics
> > renderer need the output channel layout untouched since the rendering
> > algorithm depend of the channel layout.
> 
> If you fix the channel map, not only you need to reorder (which is
> wasteful and 
> was carefully avoided previously) but you have to support *every* channel 
> positions defined by PulseAudio, or you might fail to playback
> completely.
> 
> Good luck with that... Seriously,that seems highly impractical.

This will be used only for ambisonics content. The ambisonics audio
renderer works only with the channels layout handled by VLC. In that
case, it's OK to not support *every* channel positions defined by
pulseaudio since it's better to do a good rendering on the few channels
we know. But I forgot to handle the extra channels (add 0s for every
channels that is not handled by VLC)

Maybe, in case of ambisonics, I should start a stream with the fixed
flags in order to know the channel positions and then adapt it.



> 
> -- 
> RĂ©mi
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list