CsoundUnity 4.0.0-alpha.3
Loading...
Searching...
No Matches
Csound.Unity.NativeAudioInput Namespace Reference

Classes

class  AndroidAudioInputFallback
 Fallback audio input for Android devices that cannot use AAudio (API < 26). Uses Unity's Microphone API, which works on all Android versions but has higher latency than AAudio. More...
struct  AudioInputDevice
 Platform-agnostic descriptor for an audio input device returned by CsoundUnityNativeAudioInput.Devices. More...
class  AudioInputDeviceIndexAttribute
 Draws a device index as the list of inputs the machine has, read before play, with the system's own first. Choosing that one turns CsoundUnityNativeAudioInput.UseSystemDefaultDevice on, and choosing a device turns it off and stores the position: one control for what is one decision. More...
class  AudioInputSampleRateAttribute
 Draws an int field as a choice among the rates the selected input device declares, read from AudioInputDevice.SupportedSampleRates, with 0 standing for Csound's own rate. Falls back to a plain field on a device that declares no list. More...
class  CsoundUnityAudioInputRouter
 Cross-platform audio input coordinator for CsoundUnity. More...
class  CsoundUnityNativeAudioInput
 Manages native multi-channel audio input and routes captured samples into the Csound spin buffer each ksmps cycle. More...
class  NativeAudioInputBridge
 P/Invoke declarations for the native audio input plugins. The API surface is identical on macOS (CoreAudio) and Android (AAudio); only the library name differs. More...
class  WebGLAudioInput
 WebGL audio input: the browser microphone, as seen from C#. More...

Enumerations

enum  NativeInputState {
  Stopped , Opening , Running , Fallback ,
  Error , NotSupported
}
 State of the CsoundUnityNativeAudioInput. More...

Enumeration Type Documentation

◆ NativeInputState

State of the CsoundUnityNativeAudioInput.

Enumerator
Stopped 

No input session is active.

Opening 

Opening the native device.

Running 

Native session running (CoreAudio / AAudio).

Fallback 

AAudio unavailable; using Unity Microphone API fallback.

Error 

Open failed on all paths.

NotSupported 

Platform does not support CsoundUnityNativeAudioInput. On WebGL, use WebGLAudioInput instead.