code: def write(self, buf):
          
          buf = align_buf(buf, self._sample_width)
          buf = normalize_audio_buffer(buf, self.volume_percentage)
          return self._sink.write(buf)
docs: Write bytes to the sink (if currently playing).