18 lines
411 B
C#
Raw Normal View History

2025-06-07 17:43:34 +08:00
/* Copyright (C) 2014 DaikonForge */
namespace DaikonForge.VoIP
{
/// <summary>
/// Interface for classes which can play received audio
/// </summary>
public interface IAudioPlayer
{
bool PlayingSound { get; }
void SetSampleRate(int sampleRate, int seconds);
void BufferAudio( BigArray<float> audioData );
void Play(string path);
UnityEngine.AudioClip GetAudioClip();
}
}