diff --git a/Assets/Scripts/UEssgeeInterface/UEGSoundPlayer.cs b/Assets/Scripts/UEssgeeInterface/UEGSoundPlayer.cs index 0b549ed..f1e1cd6 100644 --- a/Assets/Scripts/UEssgeeInterface/UEGSoundPlayer.cs +++ b/Assets/Scripts/UEssgeeInterface/UEGSoundPlayer.cs @@ -14,12 +14,6 @@ public class UEGSoundPlayer : MonoBehaviour//, ISoundPlayer public double audioFPS { get; private set; } public bool IsRecording { get; private set; } - float lastData = 0; - - private AudioClip audioClip; - private int writePos = 0; - private float[] buffer; - void Awake() { // »ñÈ¡µ±Ç°ÒôƵÅäÖà @@ -44,7 +38,6 @@ public class UEGSoundPlayer : MonoBehaviour//, ISoundPlayer Debug.LogError("Failed to update audio settings."); } - GetComponent().PlayOneShot(audioClip); } private Queue sampleQueue = new Queue();