[vlc-commits] aout: display "Ambisonics"
Adrien Maglo
git at videolan.org
Wed Jul 19 18:57:16 CEST 2017
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Feb 27 12:12:45 2017 +0100| [e1101e85e364253258b53cf991198b72c78776cd] | committer: Thomas Guillem
aout: display "Ambisonics"
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1101e85e364253258b53cf991198b72c78776cd
---
src/audio_output/common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index a1e7cfbf26..391abf0557 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -105,6 +105,10 @@ void aout_FormatPrepare( audio_sample_format_t * p_format )
*****************************************************************************/
const char * aout_FormatPrintChannels( const audio_sample_format_t * p_format )
{
+ if (p_format->channel_type == AUDIO_CHANNEL_TYPE_AMBISONICS)
+ return "Ambisonics";
+
+ /* AUDIO_CHANNEL_TYPE_BITMAP */
switch ( p_format->i_physical_channels )
{
case AOUT_CHAN_LEFT:
More information about the vlc-commits
mailing list