code: def frame_size(self):
          
          if self.sample_type == SampleType.S16NativeEndian:
              # Sample size is 2 bytes
              return self.sample_size * self.channels
          else:
              raise ValueError('Unknown sample type: %d', self.sample_type)
docs: The byte size of a single frame of this format.