Class CaptureAudioFromAudioListener
Captures audio from an AudioListener and adds it to a buffer
The AVPro Movie Capture plugin pulls the data from this buffer and flushes it periodically
Add this component below the main AudioLister to capture all audio, or add it below
an AudioSource component to only capture that source
Inheritance
System.Object
CaptureAudioFromAudioListener
Assembly: cs.temp.dll.dll
public class CaptureAudioFromAudioListener : UnityAudioCapture
Properties
Declaration
public float[] Buffer { get; }
Property Value
Type |
Description |
System.Single[] |
|
Declaration
public int BufferLength { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public IntPtr BufferPtr { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
public override int ChannelCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Declaration
public override int OverflowCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Declaration
public override int SampleRate { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
Declaration
public override void FlushBuffer()
Overrides
Declaration
public override void PauseCapture()
Overrides
Declaration
public override void PrepareCapture()
Overrides
Declaration
public override IntPtr ReadData(out int length)
Parameters
Type |
Name |
Description |
System.Int32 |
length |
|
Returns
Type |
Description |
System.IntPtr |
|
Overrides
Declaration
public override void ResumeCapture()
Overrides
Declaration
public override void StartCapture()
Overrides
Declaration
public override void StopCapture()
Overrides