namespace T3.Core.Audio { /// /// Interface for audio sources that can provide audio data for export/rendering. /// internal interface IAudioExportSource { /// /// Fill the provided buffer with audio data for the given time range (in seconds). /// /// Start time in seconds (localFxTime). /// Duration in seconds. /// Buffer to fill (interleaved float samples, stereo or mono as appropriate). /// Number of samples written (per channel). int RenderAudio(double startTime, double duration, float[] buffer); } }