35 public abstract void Init();
Internal interface for a RadioTrack.
float SampleRate
The samples per second of this track right now. Can be changed at runtime, e.g: StationRadioTrack.
float GetSample(int _sampleIndex)
Get a sample at the provided index. This is the core method of a track- whatever you return here defi...
void Init()
Initializes this track.
int SampleCount
The total number of samples in this track right now. Can be changed at runtime, e....
virtual void AddToPlayerEndCallback(ref Action< RadioTrackPlayer > _callback)
Update a RadioTrackPlayer when this current track ends. Used in StationRadioTrack.
Tracks to be used on a radio- includes base classes.