private void PlatformInitialize(byte[] buffer, int sampleRate, AudioChannels channels) { _name = ""; _audioBuffer = new Sound(AudioUtil.FormatWavData(buffer, sampleRate, (int)channels)); }