CsoundUnity 4.0.0-alpha.3
Loading...
Searching...
No Matches
Csound.Unity.INativeAudioInputProvider Interface Reference

Implemented by Csound.Unity.NativeAudioInput.CsoundUnityNativeAudioInput. When assigned to CsoundUnity.nativeAudioInputProvider, this method is called once per ksmps boundary (before PerformKsmps) on the Unity audio thread to write captured microphone samples into the Csound spin buffer. More...

Inheritance diagram for Csound.Unity.INativeAudioInputProvider:
Csound.Unity.NativeAudioInput.CsoundUnityNativeAudioInput

Public Member Functions

void FillSpinBuffer (int ksmpsLen, uint nchnlsInput)

Detailed Description

Implemented by Csound.Unity.NativeAudioInput.CsoundUnityNativeAudioInput. When assigned to CsoundUnity.nativeAudioInputProvider, this method is called once per ksmps boundary (before PerformKsmps) on the Unity audio thread to write captured microphone samples into the Csound spin buffer.

Member Function Documentation

◆ FillSpinBuffer()

void Csound.Unity.INativeAudioInputProvider.FillSpinBuffer ( int ksmpsLen,
uint nchnlsInput )
Parameters
ksmpsLenNumber of sample frames in the current ksmps block.
nchnlsInputNumber of Csound input channels (nchnls_i).

Implemented in Csound.Unity.NativeAudioInput.CsoundUnityNativeAudioInput.


The documentation for this interface was generated from the following file: