Class RecordingSession
- Namespace
- Zorro.Recorder
- Assembly
- Zorro.Recorder.dll
public class RecordingSession : IDisposable
- Inheritance
-
RecordingSession
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
RecordingSession(uint, uint, string)
public RecordingSession(uint width, uint height, string directory)
Parameters
width
uint
height
uint
directory
string
Properties
AudioDataSize
public int AudioDataSize { get; set; }
Property Value
- int
AudioFrames
public int AudioFrames { get; }
Property Value
- int
Frames
public int Frames { get; set; }
Property Value
- int
MicAudioDataSize
public int MicAudioDataSize { get; set; }
Property Value
- int
MicAudioFrames
public int MicAudioFrames { get; }
Property Value
- int
MicChannels
public Optionable<int> MicChannels { get; set; }
Property Value
- Optionable<int>
MicSampleRate
public Optionable<int> MicSampleRate { get; set; }
Property Value
- Optionable<int>
Pipe
public RecordingPipe Pipe { get; }
Property Value
- RecordingPipe
Methods
Dispose()
GetAudioBlob()
public byte[] GetAudioBlob()
Returns
- byte[]
GetAudioPath()
public string GetAudioPath()
Returns
- string
GetMicAudioBlob()
public byte[] GetMicAudioBlob()
Returns
- byte[]
GetMicAudioPath()
public string GetMicAudioPath()
Returns
- string
PushAudio(float[])
public void PushAudio(float[] data)
Parameters
data
float[]
PushFrame(RenderTexture)
public void PushFrame(RenderTexture frame)
Parameters
frame
RenderTexture
PushMicAudio(float[], int, int)
public void PushMicAudio(float[] data, int sampleRate, int channels)
Parameters
data
float[]
sampleRate
int
channels
int