Class AudioSampleProvider
  
  
  
  
    Inheritance
    
    AudioSampleProvider
   
  
  
  
  Assembly: UnityEngine.dll
  Syntax
  
    public class AudioSampleProvider : IDisposable
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  availableSampleFrameCount
  
  
  Declaration
  
    public uint availableSampleFrameCount { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  channelCount
  
  
  Declaration
  
    public ushort channelCount { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  consumeSampleFramesNativeFunction
  
  
  Declaration
  
    public static AudioSampleProvider.ConsumeSampleFramesNativeFunction consumeSampleFramesNativeFunction { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  enableSampleFramesAvailableEvents
  
  
  Declaration
  
    public bool enableSampleFramesAvailableEvents { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  enableSilencePadding
  
  
  Declaration
  
    public bool enableSilencePadding { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  freeSampleFrameCount
  
  
  Declaration
  
    public uint freeSampleFrameCount { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  freeSampleFrameCountLowThreshold
  
  
  Declaration
  
    public uint freeSampleFrameCountLowThreshold { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  id
  
  
  Declaration
  
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  maxSampleFrameCount
  
  
  Declaration
  
    public uint maxSampleFrameCount { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  owner
  
  
  Declaration
  
    public Object owner { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  sampleRate
  
  
  Declaration
  
    public uint sampleRate { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  trackIndex
  
  
  Declaration
  
    public ushort trackIndex { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  valid
  
  
  Declaration
  
    public bool valid { get; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ClearSampleFramesAvailableNativeHandler()
  
  
  Declaration
  
    public void ClearSampleFramesAvailableNativeHandler()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ClearSampleFramesOverflowNativeHandler()
  
  
  Declaration
  
    public void ClearSampleFramesOverflowNativeHandler()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ConsumeSampleFrames(NativeArray<Single>)
  
  
  Declaration
  
    public uint ConsumeSampleFrames(NativeArray<float> sampleFrames)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Dispose()
  
  
  Declaration
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Finalize()
  
  
  Declaration
  
    protected void Finalize()
   
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetSampleFramesAvailableNativeHandler(AudioSampleProvider.SampleFramesEventNativeFunction, IntPtr)
  
  
  Declaration
  
    public void SetSampleFramesAvailableNativeHandler(AudioSampleProvider.SampleFramesEventNativeFunction handler, IntPtr userData)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetSampleFramesOverflowNativeHandler(AudioSampleProvider.SampleFramesEventNativeFunction, IntPtr)
  
  
  Declaration
  
    public void SetSampleFramesOverflowNativeHandler(AudioSampleProvider.SampleFramesEventNativeFunction handler, IntPtr userData)
   
  Parameters
  
  Events
  
  
    |
    Improve this Doc
  
  
    View Source
  
  sampleFramesAvailable
  
  
  Declaration
  
    public event AudioSampleProvider.SampleFramesHandler sampleFramesAvailable
   
  Event Type
  
  
    |
    Improve this Doc
  
  
    View Source
  
  sampleFramesOverflow
  
  
  Declaration
  
    public event AudioSampleProvider.SampleFramesHandler sampleFramesOverflow
   
  Event Type
  
  Implements
  
  Extension Methods