private int SampleCountTypeToSampleCount(SampleCountType t) { switch (t) { case SampleCountType.S4: return(4); case SampleCountType.S8: return(8); case SampleCountType.S16: return(16); default: throw new NotImplementedException(); } }
private int SampleCountTypeToSampleCount(SampleCountType t) { switch (t) { case SampleCountType.S4: return 4; case SampleCountType.S8: return 8; case SampleCountType.S16: return 16; default: throw new NotImplementedException(); } }