code: func (w *Waveform) setResolution(resolution uint) error {
  	// Resolution cannot be zero
  	if resolution == 0 {
  		return errResolutionZero
  	}
  
  	w.resolution = resolution
  
  	return nil
  }
docs: // setResolution directly sets the resolution member of the receiving Waveform
  // struct.