Gets or sets the sample rate, in samples per second (hertz). (nSamplesPerSec)

C# | Visual Basic | Visual C++ |
public int SampleRate { get; set; }
Public Property SampleRate As Integer Get Set
public: property int SampleRate { int get (); void set (int value); }


If WaveFormatTag is PCM, then common values are 8.0 kHz, 11.025 kHz, 22.05 kHz, and 44.1 kHz.
For non-PCM formats, this member must be computed according to the manufacturer's specification of the format tag.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290