Xeno-rat
Loading...
Searching...
No Matches
NAudio.Wave.ISampleProvider Interface Reference

Like IWaveProvider, but makes it much simpler to put together a 32 bit floating point mixing engine. More...

Inheritance diagram for NAudio.Wave.ISampleProvider:
Collaboration diagram for NAudio.Wave.ISampleProvider:

Public Member Functions

int Read (float[] buffer, int offset, int count)
 Fill the specified buffer with 32 bit floating point samples.
 

Properties

WaveFormat WaveFormat [get]
 Gets the WaveFormat of this Sample Provider.
 

Detailed Description

Like IWaveProvider, but makes it much simpler to put together a 32 bit floating point mixing engine.

Member Function Documentation

◆ Read()

int NAudio.Wave.ISampleProvider.Read ( float[] buffer,
int offset,
int count )

Fill the specified buffer with 32 bit floating point samples.

Parameters
bufferThe buffer to fill with samples.
offsetOffset into buffer
countThe number of samples to read
Returns
the number of samples written to the buffer.

Implemented in NAudio.Wave.SimpleCompressorEffect, NAudio.Wave.SampleProviders.AdsrSampleProvider, NAudio.Wave.SampleProviders.ConcatenatingSampleProvider, NAudio.Wave.SampleProviders.FadeInOutSampleProvider, NAudio.Wave.SampleProviders.MeteringSampleProvider, NAudio.Wave.SampleProviders.MixingSampleProvider, NAudio.Wave.SampleProviders.MonoToStereoSampleProvider, NAudio.Wave.SampleProviders.MultiplexingSampleProvider, NAudio.Wave.SampleProviders.OffsetSampleProvider, NAudio.Wave.SampleProviders.PanningSampleProvider, NAudio.Wave.SampleProviders.Pcm16BitToSampleProvider, NAudio.Wave.SampleProviders.Pcm24BitToSampleProvider, NAudio.Wave.SampleProviders.Pcm32BitToSampleProvider, NAudio.Wave.SampleProviders.Pcm8BitToSampleProvider, NAudio.Wave.SampleProviders.SampleProviderConverterBase, NAudio.Wave.SampleProviders.SignalGenerator, NAudio.Wave.SampleProviders.SmbPitchShiftingSampleProvider, NAudio.Wave.SampleProviders.StereoToMonoSampleProvider, NAudio.Wave.SampleProviders.WaveToSampleProvider, NAudio.Wave.SampleProviders.WaveToSampleProvider64, NAudio.Wave.SampleProviders.WdlResamplingSampleProvider, NAudio.Wave.SampleProviders.NotifyingSampleProvider, NAudio.Wave.SampleProviders.SampleChannel, NAudio.Wave.SampleProviders.VolumeSampleProvider, and NAudio.Wave.WaveProvider32.

Here is the caller graph for this function:

Property Documentation

◆ WaveFormat


The documentation for this interface was generated from the following file: