|
WaveFileAddSample Method
|
Add the sample to the wave file.
Namespace: GSF.MediaAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax public void AddSample(
double sample
)
Public Sub AddSample (
sample As Double
)
public:
void AddSample(
double sample
)
member AddSample :
sample : float -> unit
function AddSample(sample);
View SourceParameters
- sample Double
- Sample to add to the wave file.
Remarks
Sample is applied to all channels and cast to the appropriate size. Sample should be scaled
by AmplitudeScalar for integer based wave file formats to make sure sample will
fit into BitsPerSample defined by wave file.
If you have samples to apply to individual channels (e.g., for a stereo format), use the
AddSamples(Double) method instead.
See Also