Tanoda
|
Waveform audio recorder. More...
Public Member Functions | |
WAVRecorder (int sampleRate, int channelCount) | |
Create an WAV recorder. More... | |
void | CommitFrame< T > (T[] pixelBuffer=default, long timestamp=default) |
This recorder does not support committing pixel buffers. More... | |
void | CommitFrame (IntPtr nativeBuffer=default, long timestamp=default) |
This recorder does not support committing pixel buffers. More... | |
void | CommitSamples (float[] sampleBuffer, long timestamp=default) |
Commit an audio sample buffer for encoding. More... | |
Task< string > | FinishWriting () |
Finish writing and return the path to the recorded media file. More... | |
void | CommitFrame< T > (T[] pixelBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitFrame (IntPtr nativeBuffer, long timestamp) |
Commit a video pixel buffer for encoding. The pixel buffer MUST have an RGBA8888 pixel layout. More... | |
void | CommitSamples (float[] sampleBuffer, long timestamp) |
Commit an audio sample buffer for encoding. More... | |
Task< string > | FinishWriting () |
Finish writing and return the path to the recorded media file. More... | |
Public Attributes | |
int | width |
Not supported. More... | |
![]() | |
int | width |
Recording frame size. More... | |
Properties | |
int int height | frameSize [get] |
![]() | |
int int height | frameSize [get] |
Waveform audio recorder.
Definition at line 16 of file WAVRecorder.cs.
NatSuite.Recorders.WAVRecorder.WAVRecorder | ( | int | sampleRate, |
int | channelCount | ||
) |
Create an WAV recorder.
sampleRate | Audio sample rate. |
channelCount | Audio channel count. |
Definition at line 30 of file WAVRecorder.cs.
void NatSuite.Recorders.WAVRecorder.CommitFrame | ( | IntPtr | nativeBuffer = default , |
long | timestamp = default |
||
) |
This recorder does not support committing pixel buffers.
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 51 of file WAVRecorder.cs.
void NatSuite.Recorders.WAVRecorder.CommitFrame< T > | ( | T[] | pixelBuffer = default , |
long | timestamp = default |
||
) |
This recorder does not support committing pixel buffers.
Implements NatSuite.Recorders.IMediaRecorder.
T | : | struct |
Definition at line 44 of file WAVRecorder.cs.
void NatSuite.Recorders.WAVRecorder.CommitSamples | ( | float[] | sampleBuffer, |
long | timestamp = default |
||
) |
Commit an audio sample buffer for encoding.
sampleBuffer | Linear PCM audio sample buffer, interleaved by channel. |
timestamp | Not used. |
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 60 of file WAVRecorder.cs.
Task< string > NatSuite.Recorders.WAVRecorder.FinishWriting | ( | ) |
Finish writing and return the path to the recorded media file.
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 76 of file WAVRecorder.cs.
int NatSuite.Recorders.WAVRecorder.width |
Not supported.
Definition at line 23 of file WAVRecorder.cs.
|
get |
Implements NatSuite.Recorders.IMediaRecorder.
Definition at line 23 of file WAVRecorder.cs.