SoundSampleData
Overview
SoundSampleData is a class in Aspose.PDF FOSS for .NET.
Describes the format of embedded sound samples: sampling rate, number of channels, bits per channel and encoding.
This class declares 4 methods for SoundSampleData objects in .NET programs.
Available methods include: SoundSampleData.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: BitsPerChannel, DefaultEncodingFormat, DefaultOfBitsPerChannel, DefaultOfSoundChannels, DefaultSamplingRate, EncodingFormat, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SamplingRate | long | Read/Write | Gets or sets the sampling rate. |
NumberOfSoundChannels | int | Read/Write | Gets or sets the number of sound channels. |
BitsPerChannel | int | Read/Write | Gets or sets the bits per channel. |
EncodingFormat | SoundSampleDataEncodingFormat | Read/Write | Gets or sets the encoding format. |
DefaultSamplingRate | long | Read | Gets the default sampling rate. |
DefaultOfSoundChannels | int | Read | Gets the default of sound channels. |
DefaultOfBitsPerChannel | int | Read | Gets the default of bits per channel. |
DefaultEncodingFormat | SoundSampleDataEncodingFormat | Read | Gets the default encoding format. |
Methods
| Signature | Description |
|---|---|
SoundSampleData(samplingRate: long) | Creates a sample format with the given sampling rate (samples per second), 1 channel, 8 bits per channel and raw encoding. |
SoundSampleData(samplingRate: long, numberOfSoundChannels: int) | Creates a sample format with the given sampling rate and channel count, 8 bits per channel and raw encoding. |
SoundSampleData(samplingRate: long, numberOfSoundChannels: int, bitsPerChannel: int) | Creates a sample format with the given sampling rate, channel count and bits per channel, using raw encoding. |
SoundSampleData(samplingRate: long, numberOfSoundChannels: int, bitsPerChannel: int, soundSampleDataEncodingFormat: SoundSampleDataEncodingFormat) | Creates a sample format with the given sampling rate, channel count, bits per channel and encoding. |