Table of Contents

Class ExtendedAudioFileReaderFromURL

Namespace
NAudio.Wave
Assembly
NAudio.MacOS.dll

Provides the ability to decode and read files from URL paths.
The reader does the best effort to decode to PCM - as such, all the audio file data that you will recieve will not ever be compressed formats.
Uses the Audio Toolbox framework Extended Audio File Services API.

public sealed class ExtendedAudioFileReaderFromURL : ExtendedAudioFileServicesReader, IAsyncDisposable, IDisposable, IWaveProvider
Inheritance
ExtendedAudioFileReaderFromURL
Implements
Inherited Members
Extension Methods

Constructors

ExtendedAudioFileReaderFromURL(Uri, ExtendedAudioFileReaderSettings)

Initializes a new instance of the ExtendedAudioFileReaderFromURL class, specifying the URL to use, as well as the settings to apply to this reader.

public ExtendedAudioFileReaderFromURL(Uri URL, ExtendedAudioFileReaderSettings settings = null)

Parameters

URL Uri

The URL to the audio file to initialize from.

settings ExtendedAudioFileReaderSettings

Behavioral settings to apply to the reader.

Methods

CreateFromFile(string, ExtendedAudioFileReaderSettings)

Initializes a new instance of the ExtendedAudioFileReaderFromURL class, specifying the file path to use, as well as the settings to apply to this reader.

public static ExtendedAudioFileReaderFromURL CreateFromFile(string filePath, ExtendedAudioFileReaderSettings settings = null)

Parameters

filePath string

The file path to the audio file to initialize from.

settings ExtendedAudioFileReaderSettings

Behavioral settings to apply to the reader.

Returns

ExtendedAudioFileReaderFromURL

InitializeReader()

Implementations of this allow to initialize the Extended Audio File services reader from a source.

protected override nint InitializeReader()

Returns

nint

Handle to an extended audio file.