|
WaveFile(Int32, Int16, Int16) Constructor
|
Creates a new empty in-memory wave file in Pulse Code Modulation (PCM) audio format.
Namespace: GSF.MediaAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax public WaveFile(
int sampleRate,
short bitsPerSample,
short channels
)
public:
WaveFile(
int sampleRate,
short bitsPerSample,
short channels
)
new :
sampleRate : int *
bitsPerSample : int16 *
channels : int16 -> WaveFile
GSF.Media.WaveFile = function(sampleRate, bitsPerSample, channels);
View SourceParameters
- sampleRate Int32
- Desired sample rate (e.g., 44100).
- bitsPerSample Int16
- Desired bits-per-sample (e.g., 16).
- channels Int16
- Desired data channels (e.g., 2 for stereo).
See Also