Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ee0bc0d176
Fetching contributors…

Cannot retrieve contributors at this time

file 31 lines (27 sloc) 0.928 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
using System;

class T {

private static int[,,] bitrateTable = new int[,,]
{ //table
{ //V1
{0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1}, //LI
{0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1}, //LII
{0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1} //LIII
},
{ //V2
{0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, -1}, //LI
{0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1}, //LII
{0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1} //LIII
}
};

private static int[,] samplingRateTable =new int[,]
{ //table
{44100, 48000, 32000, 0}, //V1
{22050, 24000, 16000, 0}, //V2
{11025, 12000, 8000, 0} //V3
};

static int Main () {
if (bitrateTable [0, 1, 2] == 48 && samplingRateTable [1, 2] == 16000)
return 0;
return 1;
}
}
Something went wrong with that request. Please try again.