Class NAudioHelpers
The NAudio Helper and extension class.
Inherited Members
Namespace: Evergine.Assets.Importers.Audio
Assembly: Evergine.Assets.dll
Syntax
public static class NAudioHelpers
  Methods
GetDataStream(IWaveProvider)
Gets the data stream of a wave provider.
Declaration
public static MemoryStream GetDataStream(this IWaveProvider waveProvider)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IWaveProvider | waveProvider | The wave provider.  | 
      
Returns
| Type | Description | 
|---|---|
| MemoryStream | The Memory stream.  | 
      
ToEvergineFormat(WaveFormat)
Converts to Evergine Wave format.
Declaration
public static WaveFormat ToEvergineFormat(this WaveFormat waveFormat)
  Parameters
| Type | Name | Description | 
|---|---|---|
| WaveFormat | waveFormat | The NAudio wave format.  | 
      
Returns
| Type | Description | 
|---|---|
| WaveFormat | The Evergine Wave Format.  | 
      
ToNAudioWaveFormat(WaveFormat)
Converts to NAudio wave format.
Declaration
public static WaveFormat ToNAudioWaveFormat(this WaveFormat waveFormat)
  Parameters
| Type | Name | Description | 
|---|---|---|
| WaveFormat | waveFormat | The wave format.  | 
      
Returns
| Type | Description | 
|---|---|
| WaveFormat | NAudio wave format.  |