CsoundUnity 4.0.0-alpha.3
Loading...
Searching...
No Matches
Csound.Unity.CsoundArrayChannelInfo Struct Reference

Metadata for the shape observed under the same channel lock as an array copy. More...

Package Functions

 CsoundArrayChannelInfo (CsoundArrayChannelType type, int dimensions, int count, int samplesPerElement=1)

Properties

CsoundArrayChannelType ElementType [get]
 The array element type.
int Dimensions [get]
 The number of axes. Axis sizes are copied into the caller's shape buffer.
int ElementCount [get]
 The product of all axis sizes, in elements rather than bytes.
int SamplesPerElement [get]
 Samples per audio element (global ksmps); one for numeric and string elements.
int DataLength [get]
 Required flat buffer length, including every sample of each audio element.

Detailed Description

Metadata for the shape observed under the same channel lock as an array copy.

Constructor & Destructor Documentation

◆ CsoundArrayChannelInfo()

Csound.Unity.CsoundArrayChannelInfo.CsoundArrayChannelInfo ( CsoundArrayChannelType type,
int dimensions,
int count,
int samplesPerElement = 1 )
inlinepackage

Property Documentation

◆ DataLength

int Csound.Unity.CsoundArrayChannelInfo.DataLength
get

Required flat buffer length, including every sample of each audio element.

◆ Dimensions

int Csound.Unity.CsoundArrayChannelInfo.Dimensions
get

The number of axes. Axis sizes are copied into the caller's shape buffer.

◆ ElementCount

int Csound.Unity.CsoundArrayChannelInfo.ElementCount
get

The product of all axis sizes, in elements rather than bytes.

◆ ElementType

CsoundArrayChannelType Csound.Unity.CsoundArrayChannelInfo.ElementType
get

The array element type.

◆ SamplesPerElement

int Csound.Unity.CsoundArrayChannelInfo.SamplesPerElement
get

Samples per audio element (global ksmps); one for numeric and string elements.


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