Class AudioPCMConverterSettings
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Audio PCM converter settings. Defines the parameters for converting audio to PCM (Pulse Code Modulation) format. PCM is an uncompressed digital audio format commonly used for audio processing and storage.
public class AudioPCMConverterSettingsInheritance
Inherited Members
Constructors
AudioPCMConverterSettings(int, int, int)
Initializes a new instance of the VisioForge.Core.Types.AudioPCMConverterSettings class with specified audio parameters.
public AudioPCMConverterSettings(int channels, int bps, int sampleRate)Parameters
channelsint-
The number of audio channels. Use 1 for mono or 2 for stereo.
bpsint-
The bits per sample (bit depth). Common values are 8, 16, 24, or 32 bits.
sampleRateint-
The sample rate in Hz. Common values include 8000, 16000, 22050, 44100, 48000, 96000.
Properties
BPS
Gets or sets the bits per sample (bit depth). Common values are 8, 16, 24, or 32 bits. Higher bit depth provides better dynamic range and audio quality.
public int BPS { get; set; }Property Value
Channels
Gets or sets the number of audio channels. 1 for mono (single channel) or 2 for stereo (dual channel).
public int Channels { get; set; }Property Value
SampleRate
Gets or sets the sample rate in Hz (samples per second). Common values include 8000, 16000, 22050, 44100, 48000, 96000. Higher sample rates provide better audio quality but require more storage.
public int SampleRate { get; set; }