-static int SyncInfo( const byte_t * p_buf,
- unsigned int * pi_channels,
- unsigned int * pi_channels_conf,
- unsigned int * pi_sample_rate,
- unsigned int * pi_bit_rate,
- unsigned int * pi_frame_length )
+static const unsigned int ppi_dts_samplerate[] =
+{
+ 0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
+ 12000, 24000, 48000, 96000, 192000
+};
+
+static const unsigned int ppi_dts_bitrate[] =
+{
+ 32000, 56000, 64000, 96000, 112000, 128000,
+ 192000, 224000, 256000, 320000, 384000,
+ 448000, 512000, 576000, 640000, 768000,
+ 896000, 1024000, 1152000, 1280000, 1344000,
+ 1408000, 1411200, 1472000, 1536000, 1920000,
+ 2048000, 3072000, 3840000, 1/*open*/, 2/*variable*/, 3/*lossless*/
+};
+
+static int SyncInfo16be( const uint8_t *p_buf,
+ unsigned int *pi_audio_mode,
+ unsigned int *pi_sample_rate,
+ unsigned int *pi_bit_rate,
+ unsigned int *pi_frame_length )