code: func (self AudioFrame) HasSameFormat(other AudioFrame) bool {
  	if self.SampleRate != other.SampleRate {
  		return false
  	}
  	if self.ChannelLayout != other.ChannelLayout {
  		return false
  	}
  	if self.SampleFormat != other.SampleFormat {
  		return false
  	}
  	return true
  }
docs: // Check this audio frame has same format as other audio frame.