Browse Source

ES: add a property to audio_format_t for Ambisonics support

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
pull/60/head
Adrien Maglo 10 years ago
committed by Thomas Guillem
parent
commit
a5ce50a169
  1. 13
      include/vlc_es.h

13
include/vlc_es.h

@ -65,6 +65,16 @@ typedef struct
float pf_gain[AUDIO_REPLAY_GAIN_MAX];
} audio_replay_gain_t;
/**
* Audio channel type
*/
typedef enum audio_channel_type_t
{
AUDIO_CHANNEL_TYPE_BITMAP,
AUDIO_CHANNEL_TYPE_AMBISONICS,
} audio_channel_type_t;
/**
* audio format description
*/
@ -82,6 +92,9 @@ struct audio_format_t
* filters. */
uint16_t i_chan_mode;
/* Channel type */
audio_channel_type_t channel_type;
/* Optional - for A/52, SPDIF and DTS types : */
/* Bytes used by one compressed frame, depends on bitrate. */
unsigned int i_bytes_per_frame;

Loading…
Cancel
Save