public int SizeOfShortestSample() { int smallest = int.MaxValue; foreach( GATSampleInfo info in _sampleInfos ) { if( info.SamplesPerChannel < smallest ) { smallest = info.SamplesPerChannel; } } return smallest; }