Show / Hide Table of Contents

    Class IMAWaveProvider

    A helper to stream the WWise encoded IMA

    Inheritance
    Object
    IMAWaveProvider
    Implements
    NAudio.Wave.IWaveProvider
    IDisposable
    Namespace: Anki.AudioKinetic
    Assembly: Anki.Resources.SDK.dll
    Syntax
    public class IMAWaveProvider : IWaveProvider, IDisposable

    Properties

    WaveFormat

    Provides the wave format.

    Declaration
    public WaveFormat WaveFormat { get; }
    Property Value
    Type Description
    NAudio.Wave.WaveFormat

    Provides the wave format.

    Methods

    Dispose()

    Disposes the reader stream

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes the reader stream

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    Read(Byte[], Int32, Int32)

    Declaration
    public int Read(byte[] buffer, int offset, int count)
    Parameters
    Type Name Description
    Byte[] buffer
    Int32 offset
    Int32 count
    Returns
    Type Description
    Int32

    SetWaveFormat(Int32, Int32)

    Sets the wave format

    Declaration
    public void SetWaveFormat(int sampleRate, int numChannels)
    Parameters
    Type Name Description
    Int32 sampleRate
    Int32 numChannels

    Implements

    NAudio.Wave.IWaveProvider
    System.IDisposable
    Back to top Copyright (c) 2020 by Randall Maas