Class MicrophoneStream
Representation of a write only audio stream
Declaration
Inheritance: System.Object
-> OdinNative.Odin.Media.MediaStream
Implements:
Global.IDisposable
Properties
IsMuted
Declaration
Methods
MuteStream(bool)
Declaration
Parameters
Type | Name |
---|---|
System.Boolean | mute |
AudioPushData(float[], int)
Declaration
Parameters
Type | Name |
---|---|
System.Single[] | buffer |
System.Int32 | length |
AudioStats(out OdinAudioStreamStats)
AudioReadData and AudioReadDataAsync are not supported!
Declaration
Returns
System.Boolean
: throws OdinWrapperException
Parameters
Type | Name | Description |
---|---|---|
OdinNative.Core.Imports.NativeBindings.OdinAudioStreamStats | stats | Audio stream statistics |
Exceptions
OdinNative.Odin.OdinWrapperException
AudioReset()
AudioReset is not supported!
Declaration
Returns
System.Boolean
: throws OdinWrapperException
Exceptions
OdinNative.Odin.OdinWrapperException
AudioReadData(float[])
AudioReadData is not supported!
Declaration
Returns
System.UInt32
: throws OdinWrapperException
Parameters
Type | Name |
---|---|
System.Single[] | buffer |
Exceptions
OdinNative.Odin.OdinWrapperException
AudioReadDataTask(float[], CancellationToken)
AudioReadDataTask is not supported!
Declaration
Returns
Global.Task<System.UInt32>
: throws OdinWrapperException
Parameters
Type | Name |
---|---|
System.Single[] | buffer |
Global.CancellationToken | cancellationToken |
Exceptions
OdinNative.Odin.OdinWrapperException
AudioReadDataAsync(float[])
AudioReadDataAsync is not supported!
Declaration
Returns
Global.Task<System.UInt32>
: throws OdinWrapperException
Parameters
Type | Name |
---|---|
System.Single[] | buffer |
Exceptions
OdinNative.Odin.OdinWrapperException
Implements
Global.IDisposable